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

Project Version 2.3

com.rational.test.ft.script
Class RationalTestScriptException

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.script.RationalTestScriptException
All Implemented Interfaces:
IRationalThrowable, java.io.Serializable

public class RationalTestScriptException
extends NestedException

Thrown when a script ends due to an unhandled Exception, RuntimeException, or Throwable (but not an unhandled Error). Information about the original Exception is cached.

Since:
RFT1.0
See Also:
Serialized Form

Constructor Summary
RationalTestScriptException(java.lang.String scriptName, int line, java.lang.Throwable e)
           
RationalTestScriptException(java.lang.String exceptionName, java.lang.String exceptionMessage, java.lang.String scriptName, int line, java.lang.String stackTrace)
           
 
Method Summary
 int getlineNumber()
          Returns the line number in the script.
 java.lang.String getScriptName()
          Returns the cached ScriptName.
 java.lang.String toString()
          Returns a descriptive String.
 
Methods inherited from class com.rational.test.ft.NestedException
getNestedException, getNestedExceptionMessage, getNestedExceptionName, getNestedExceptionStackTrace, setNestedException
 
Methods inherited from class com.rational.test.ft.RationalTestException
className, fillinCombinedStackTrace, getClassName, 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

RationalTestScriptException

public RationalTestScriptException(java.lang.String exceptionName,
                                   java.lang.String exceptionMessage,
                                   java.lang.String scriptName,
                                   int line,
                                   java.lang.String stackTrace)

RationalTestScriptException

public RationalTestScriptException(java.lang.String scriptName,
                                   int line,
                                   java.lang.Throwable e)
Method Detail

getScriptName

public java.lang.String getScriptName()
Returns the cached ScriptName.

Since:
RFT1.0

getlineNumber

public int getlineNumber()
Returns the line number in the script.

Since:
RFT1.0

toString

public java.lang.String toString()
Returns a descriptive String.

Overrides:
toString in class NestedException
Since:
RFT1.0