| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | java.lang.reflect.InvocationTargetException | ||
This class provides a wrapper for an exception thrown by a Method or Constructor invocation.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of this class with its walkback and target
exception filled in.
| |||||||||||
Constructs a new instance of this class with its walkback, target
exception and message filled in.
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of this class with its walkback filled in.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the cause of this Throwable, or null if there is no cause.
| |||||||||||
Returns the exception which caused the receiver to be thrown.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Throwable
| |||||||||||
From class java.lang.Object
| |||||||||||
Constructs a new instance of this class with its walkback and target exception filled in.
| exception | Throwable The exception which occurred while running the Method or Constructor. |
|---|
Constructs a new instance of this class with its walkback, target exception and message filled in.
| exception | Throwable The exception which occurred while running the Method or Constructor. |
|---|---|
| detailMessage | String The detail message for the exception. |
Constructs a new instance of this class with its walkback filled in.
Returns the cause of this Throwable, or null if there is no cause.
Returns the exception which caused the receiver to be thrown.