<init>

Common
JVM
JS
Native
1.0
<init>(message: String?)
<init>(cause: Throwable?)
<init>()
Common
JVM
JS
Native
1.0
<init>(message: String?, cause: Throwable?)

The base class for all errors and exceptions. Only instances of this class can be thrown or caught.

Parameters

message - the detail message string.

cause - the cause of this throwable.