RuntimeException
Platform and version requirements: JS (1.1), Native (1.3)
open class RuntimeException : Exception
Platform and version requirements: JVM (1.1)
typealias RuntimeException = RuntimeException
Constructors
Platform and version requirements: JS (1.0), Native (1.0)
<init>
<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)
Extension Functions
Platform and version requirements: Native (1.3)
getStackTraceAddresses
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
fun Throwable.getStackTraceAddresses(): List<Long>
Inheritors
ArithmeticException
Platform and version requirements: JS (1.3), Native (1.3)
open class ArithmeticException : RuntimeException
Platform and version requirements: JVM (1.3)
typealias ArithmeticException = ArithmeticException
ClassCastException
Platform and version requirements: JS (1.1), Native (1.3)
open class ClassCastException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias ClassCastException = ClassCastException
ConcurrentModificationException
Platform and version requirements: JS (1.1), Native (1.3)
open class ConcurrentModificationException : RuntimeException
Platform and version requirements: JVM (1.3)
typealias ConcurrentModificationException = ConcurrentModificationException
Platform and version requirements: Native (1.3)
FreezingException
Exception thrown whenever freezing is not possible.
class FreezingException : RuntimeException
IllegalArgumentException
Platform and version requirements: JS (1.1), Native (1.3)
open class IllegalArgumentException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias IllegalArgumentException = IllegalArgumentException
IllegalStateException
Platform and version requirements: JS (1.1), Native (1.3)
open class IllegalStateException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias IllegalStateException = IllegalStateException
Platform and version requirements: Native (1.3)
IncorrectDereferenceException
Exception thrown when top level variable is accessed from incorrect execution context.
class IncorrectDereferenceException : RuntimeException
IndexOutOfBoundsException
Platform and version requirements: JS (1.1), Native (1.3)
open class IndexOutOfBoundsException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias IndexOutOfBoundsException = IndexOutOfBoundsException
Platform and version requirements: Native (1.3)
InvalidMutabilityException
Exception thrown whenever we attempt to mutate frozen objects.
class InvalidMutabilityException : RuntimeException
NoSuchElementException
Platform and version requirements: JS (1.1), Native (1.3)
open class NoSuchElementException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias NoSuchElementException = NoSuchElementException
NoWhenBranchMatchedException
Platform and version requirements:
open class NoWhenBranchMatchedException : RuntimeException
Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
open class NoWhenBranchMatchedException : RuntimeException
NullPointerException
Platform and version requirements: JS (1.1), Native (1.3)
open class NullPointerException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias NullPointerException = NullPointerException
UninitializedPropertyAccessException
Platform and version requirements:
class UninitializedPropertyAccessException : RuntimeException
Platform and version requirements: JVM (1.0)
class UninitializedPropertyAccessException : RuntimeException
Platform and version requirements: JS (1.1), Native (1.3)
open class UninitializedPropertyAccessException : RuntimeException
UnsupportedOperationException
Platform and version requirements: JS (1.1), Native (1.3)
open class UnsupportedOperationException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias UnsupportedOperationException = UnsupportedOperationException
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-runtime-exception/index.html