|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.reflect.InvocationTargetException
public class InvocationTargetException
An object of this exception signals that there was an exception that was not handled in a call of Method.invoke or Constructor.newInstance.
| Constructor Summary | |
|---|---|
protected |
InvocationTargetException()
Create new InvocationTargetException. |
|
InvocationTargetException(Throwable target)
Create a new InvocationTargetException with the original Throwable that occurred in the target Method or Constructor. |
|
InvocationTargetException(Throwable target,
String s)
Create a new InvocationTargetException with the original Throwable that occurred in the target Method or Constructor and a message. |
| Method Summary | |
|---|---|
Throwable |
getCause()
Get the orginal Throwable that caused this Exception. |
Throwable |
getTargetException()
Get the orginal Throwable that caused this Exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected InvocationTargetException()
public InvocationTargetException(Throwable target)
target - the Throwable that caused this exception.
public InvocationTargetException(Throwable target,
String s)
target - the Throwable that caused this exception.s - message describing the problem.| Method Detail |
|---|
public Throwable getTargetException()
public Throwable getCause()
getCause in class Throwable
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||