public class InvocationTargetException extends NestedException
getNestedExceptionName
and getNestedExceptionStackTrace.
Typically, RuntimeExceptions and Errors are not wrapped with the InvocationTargetException.| Constructor and Description |
|---|
InvocationTargetException(java.lang.String className,
java.lang.String method,
java.lang.Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Returns the name of the class that does not support the method.
|
java.lang.String |
getMethod()
Returns the name of the method that is not supported.
|
getNestedException, getNestedExceptionMessage, getNestedExceptionName, getNestedExceptionStackTrace, setNestedException, toStringclassName, fillinCombinedStackTrace, getContextDescription, getMessage, getReplacedExceptionMessage, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, setContextDescription, setStackTraceString, stackTraceString, throwItpublic InvocationTargetException(java.lang.String className,
java.lang.String method,
java.lang.Throwable e)
public java.lang.String getClassName()
getClassName in interface IRationalThrowablegetClassName in class RationalTestExceptionpublic java.lang.String getMethod()