open class RuntimeException : Exception
typealias RuntimeException = RuntimeException
<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
fun Throwable.getStackTraceAddresses(): List<Long>
open class ArithmeticException : RuntimeException
typealias ArithmeticException = ArithmeticException
open class ClassCastException : RuntimeException
typealias ClassCastException = ClassCastException
open class ConcurrentModificationException : RuntimeException
typealias ConcurrentModificationException = ConcurrentModificationException
Exception thrown whenever freezing is not possible.
class FreezingException : RuntimeException
open class IllegalArgumentException : RuntimeException
typealias IllegalArgumentException = IllegalArgumentException
open class IllegalStateException : RuntimeException
typealias IllegalStateException = IllegalStateException
Exception thrown when top level variable is accessed from incorrect execution context.
class IncorrectDereferenceException : RuntimeException
open class IndexOutOfBoundsException : RuntimeException
typealias IndexOutOfBoundsException = IndexOutOfBoundsException
Exception thrown whenever we attempt to mutate frozen objects.
class InvalidMutabilityException : RuntimeException
open class NoSuchElementException : RuntimeException
typealias NoSuchElementException = NoSuchElementException
open class NoWhenBranchMatchedException : RuntimeException
open class NoWhenBranchMatchedException : RuntimeException
open class NullPointerException : RuntimeException
typealias NullPointerException = NullPointerException
class UninitializedPropertyAccessException : RuntimeException
class UninitializedPropertyAccessException : RuntimeException
open class UninitializedPropertyAccessException : RuntimeException
open class UnsupportedOperationException : RuntimeException
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