RuntimeException

Common
JS
Native
1.0
open class RuntimeException : Exception
JVM
1.1
typealias RuntimeException = RuntimeException

Constructors

Common
JS
Native
1.0

<init>

<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)

Extension Functions

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

Common
JS
Native
1.3
open class ArithmeticException : RuntimeException
JVM
1.3
typealias ArithmeticException = ArithmeticException

ClassCastException

Common
JS
Native
1.0
open class ClassCastException : RuntimeException
JVM
1.1
typealias ClassCastException = ClassCastException

ConcurrentModificationException

Common
JS
Native
1.0
open class ConcurrentModificationException : RuntimeException
JVM
1.3
typealias ConcurrentModificationException = ConcurrentModificationException
Native
1.3

FreezingException

Exception thrown whenever freezing is not possible.

class FreezingException : RuntimeException

IllegalArgumentException

Common
JS
Native
1.0
open class IllegalArgumentException : RuntimeException
JVM
1.1
typealias IllegalArgumentException = IllegalArgumentException

IllegalStateException

Common
JS
Native
1.0
open class IllegalStateException : RuntimeException
JVM
1.1
typealias IllegalStateException = IllegalStateException
Native
1.3

IncorrectDereferenceException

Exception thrown when top level variable is accessed from incorrect execution context.

class IncorrectDereferenceException : RuntimeException

IndexOutOfBoundsException

Common
JS
Native
1.0
open class IndexOutOfBoundsException : RuntimeException
JVM
1.1
typealias IndexOutOfBoundsException = IndexOutOfBoundsException
Native
1.3

InvalidMutabilityException

Exception thrown whenever we attempt to mutate frozen objects.

class InvalidMutabilityException : RuntimeException

NoSuchElementException

Common
JS
Native
1.0
open class NoSuchElementException : RuntimeException
JVM
1.1
typealias NoSuchElementException = NoSuchElementException

NoWhenBranchMatchedException

Common
1.0
open class NoWhenBranchMatchedException : RuntimeException
JVM
JS
Native
1.0
open class NoWhenBranchMatchedException : RuntimeException

NullPointerException

Common
JS
Native
1.0
open class NullPointerException : RuntimeException
JVM
1.1
typealias NullPointerException = NullPointerException

UninitializedPropertyAccessException

Common
1.0
class UninitializedPropertyAccessException : RuntimeException
JVM
1.0
class UninitializedPropertyAccessException : RuntimeException
JS
Native
1.1
open class UninitializedPropertyAccessException : 
    RuntimeException

UnsupportedOperationException

Common
JS
Native
1.0
open class UnsupportedOperationException : RuntimeException
JVM
1.1
typealias UnsupportedOperationException = UnsupportedOperationException