com.rational.test.ft
Class InvocationTargetException
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.rational.test.ft.RationalTestException
com.rational.test.ft.NestedException
com.rational.test.ft.InvocationTargetException
- All Implemented Interfaces:
- IRationalThrowable, java.io.Serializable
public class InvocationTargetException
- extends NestedException
Thrown after another exception is caught when invoking a method. Information about the original exception is available by calling getNestedExceptionName
and getNestedExceptionStackTrace
.
Typically, RuntimeExceptions
and Errors
are not wrapped with the InvocationTargetException
.
- Since:
- RFT1.0
- See Also:
- Serialized Form
Method Summary |
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. |
Methods inherited from class com.rational.test.ft.RationalTestException |
className, fillinCombinedStackTrace, getContextDescription, getMessage, getReplacedExceptionMessage, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, setContextDescription, setStackTraceString, stackTraceString, throwIt |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvocationTargetException
public InvocationTargetException(java.lang.String className, java.lang.String method, java.lang.Throwable e)
- Since:
- RFT1.0
getClassName
public java.lang.String getClassName()
- Returns the name of the class that does not support the method.
- Specified by:
getClassName
in interface IRationalThrowable
- Overrides:
getClassName
in class RationalTestException
- Since:
- RFT1.0
getMethod
public java.lang.String getMethod()
- Returns the name of the method that is not supported.
- Since:
- RFT1.0