IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft
Class InvocationTargetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.rational.test.ft.RationalTestException
                  extended by com.rational.test.ft.NestedException
                      extended by 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

Constructor Summary
InvocationTargetException(java.lang.String className, java.lang.String method, java.lang.Throwable e)
           
 
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.NestedException
getNestedException, getNestedExceptionMessage, getNestedExceptionName, getNestedExceptionStackTrace, setNestedException, toString
 
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
 

Constructor Detail

InvocationTargetException

public InvocationTargetException(java.lang.String className,
                                 java.lang.String method,
                                 java.lang.Throwable e)
Since:
RFT1.0
Method Detail

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