W3cubDocs

/Kotlin

Error

Platform and version requirements: JS (1.1), Native (1.3)
open class Error : Throwable
Platform and version requirements: JVM (1.1)
typealias Error = Error

Constructors

Platform and version requirements: JS (1.0), Native (1.0)

<init>

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

Inherited Functions

Platform and version requirements: Native (1.3)

getStackTrace

fun getStackTrace(): Array<String>
Platform and version requirements: Native (1.3)

printStackTrace

fun printStackTrace()
Platform and version requirements: Native (1.3)

toString

Returns a string representation of the object.

open fun toString(): String

Inheritors

AssertionError

Platform and version requirements: JS (1.1), Native (1.3)
open class AssertionError : Error
Platform and version requirements: JVM (1.1)
typealias AssertionError = AssertionError
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

NotImplementedError

An exception is thrown to indicate that a method body remains to be implemented.

class NotImplementedError : Error
Platform and version requirements: Native (1.3)

OutOfMemoryError

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