Throwable
Constructors
Properties
message
the detail message string.
open val message: String?
Functions
getStackTrace
Returns an array of stack trace strings representing the stack trace pertaining to this throwable.
fun getStackTrace(): Array<String>
printStackTrace
Prints the stack trace of this throwable to the standard output.
fun printStackTrace()
toString
Returns a string representation of the object.
open fun toString(): String
Extension Properties
stackTrace
Returns an array of stack trace elements representing the stack trace pertaining to this throwable.
val Throwable.stackTrace: Array<StackTraceElement>
Extension Functions
printStackTrace
Prints the stack trace of this throwable to the standard output.
fun Throwable.printStackTrace()
Prints the stack trace of this throwable to the specified writer.
fun Throwable.printStackTrace(writer: PrintWriter)
Prints the stack trace of this throwable to the specified stream.
fun Throwable.printStackTrace(stream: PrintStream)