public class Throwable4D
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
msg
Stores the message given when constructing this Throwable object
|
java.lang.String |
trace |
Constructor and Description |
---|
Throwable4D()
Constructs an empty Exception.
|
Throwable4D(java.lang.String msg)
Constructs an exception with the given message.
|
Throwable4D(java.lang.String message,
Throwable4D cause)
Instantiate this Throwable with the given message and cause.
|
Throwable4D(java.lang.String message,
Throwable4D cause,
boolean enableSuppression,
boolean writableStackTrace) |
Throwable4D(Throwable4D cause)
Instantiate this Throwable with the given cause.
|
Modifier and Type | Method and Description |
---|---|
void |
addSuppressed(Throwable4D exception) |
Throwable4D |
getCause() |
java.lang.String |
getMessage()
Returns the message passed on the constructor.
|
java.lang.StackTraceElement[] |
getStackTrace() |
Throwable4D[] |
getSuppressed() |
Throwable4D |
initCause(Throwable4D cause) |
void |
printStackTrace()
Prints the stack trace to the debug console.
|
void |
printStackTrace(java.lang.Object o) |
java.lang.String |
toString() |
protected java.lang.String msg
public java.lang.String trace
public Throwable4D()
public Throwable4D(java.lang.String msg)
public Throwable4D(java.lang.String message, Throwable4D cause)
message
- the message to associate with the Throwablecause
- the cause, may be nullpublic Throwable4D(java.lang.String message, Throwable4D cause, boolean enableSuppression, boolean writableStackTrace)
public Throwable4D(Throwable4D cause)
cause == null ? null : cause.toString()
.cause
- the cause, may be nullpublic java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
public void printStackTrace()
public void printStackTrace(java.lang.Object o)
public Throwable4D getCause()
public Throwable4D initCause(Throwable4D cause)
public final void addSuppressed(Throwable4D exception)
public final Throwable4D[] getSuppressed()
public java.lang.StackTraceElement[] getStackTrace()