Method
, Constructor
Modifier and Type | Field and Description |
---|---|
private static final long | serialVersionUID
Hides java. |
private final Throwable | target
This field holds the target if the InvocationTargetException(Throwable target) constructor was used to instantiate the object |
Access | Constructor and Description |
---|---|
protected | InvocationTargetException()
Constructs an |
public | InvocationTargetException(Throwable
the target exception target)Constructs a InvocationTargetException with a target exception. |
public | InvocationTargetException(Throwable
the target exception target, String the detail message s)Constructs a InvocationTargetException with a target exception and a detail message. |
Modifier and Type | Method and Description |
---|---|
public Throwable | Returns: the cause of this exception.Overrides java. Returns the cause of this exception (the thrown target exception,
which may be |
public Throwable | Returns: the thrown target exception (cause of this exception).Get the thrown target exception. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 1.1.X for interoperability |
target | back to summary |
---|---|
private final Throwable target This field holds the target if the InvocationTargetException(Throwable target) constructor was used to instantiate the object |
InvocationTargetException | back to summary |
---|---|
protected InvocationTargetException() Constructs an |
InvocationTargetException | back to summary |
---|---|
public InvocationTargetException(Throwable target) Constructs a InvocationTargetException with a target exception.
|
InvocationTargetException | back to summary |
---|---|
public InvocationTargetException(Throwable target, String s) Constructs a InvocationTargetException with a target exception and a detail message. |
getCause | back to summary |
---|---|
public Throwable getCause() Overrides java. Returns the cause of this exception (the thrown target exception,
which may be |
getTargetException | back to summary |
---|---|
public Throwable getTargetException() Get the thrown target exception. API Note This method predates the general-purpose exception chaining facility.
The
|