open class Error : Throwable
typealias Error = Error
<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)
Returns an array of stack trace strings representing the stack trace pertaining to this throwable.
fun getStackTrace(): Array<String>
Prints the detailed description of this throwable to the standard output.
fun printStackTrace()
Returns the short description of this throwable consisting of the exception class name (fully qualified if possible) followed by the exception message if it is not null.
open fun toString(): String
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
fun Throwable.getStackTraceAddresses(): List<Long>
open class AssertionError : Error
typealias AssertionError = AssertionError
An exception is thrown to indicate that a method body remains to be implemented.
class NotImplementedError : Error
open class OutOfMemoryError : Error
© 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/-error/index.html