About Java

doc

toString()

Returns a short description of this throwable.(Method of java.lang.Throwable)

 
doc

getCause()

Returns the cause of this throwable or null if the cause is nonexistent or unknown.(Method of java.lang.Throwable)

 
doc

getMessage()

Returns the detail message string of this throwable.(Method of java.lang.Throwable)

 
doc

initCause(cause)

Initializes the cause of this throwable to the specified value.(Method of java.lang.Throwable)

 
doc

Exception()

Constructs a new exception with null as its detail message.(Constructor of java.lang.Exception)

 
doc

Throwable(cause)

Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).(Constructor of java.lang.Throwable)

 
doc

getLocalizedMessage()

Creates a localized description of this throwable.(Method of java.lang.Throwable)

 
doc

Exception(message)

Constructs a new exception with the specified detail message.(Constructor of java.lang.Exception)

 
doc

setStackTrace(stackTrace)

Sets the stack trace elements that will be returned by getStackTrace() and printed by printStackTrace() and related methods.(Method of java.lang.Throwable)

 
doc

Throwable(message, cause)

Constructs a new throwable with the specified detail message and cause.(Constructor of java.lang.Throwable)