open class Error : Throwable
typealias Error = Error
<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)
fun getStackTrace(): Array<String>
fun printStackTrace()
Returns a string representation of the object.
open fun toString(): String
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–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-error/index.html