IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.script
Class RationalTestScriptError

java.lang.Object   extended by java.lang.Throwable       extended by java.lang.Error           extended by com.rational.test.ft.RationalTestError
              extended by com.rational.test.ft.script.RationalTestScriptError
All Implemented Interfaces:
IRationalThrowable, java.io.Serializable
Direct Known Subclasses:
RationalTestManualModeError, RationalTestScriptShutdown

public class RationalTestScriptError
extends RationalTestError

Thrown when a script ends due to an unhandled Error. Information about the original Exception is cached.

Since:
RFT1.0
See Also:
Serialized Form

Constructor Summary
RationalTestScriptError(java.lang.String errorName, java.lang.String errorMessage, java.lang.String scriptName, int line, java.lang.String stackTrace)
           
 
Method Summary
 java.lang.String getErrorName()
          Returns the cached ErrorName.
 int getlineNumber()
          Returns the line number in the script.
 java.lang.String getScriptName()
          Returns the cached ScriptName.
 java.lang.String getStackTraceString()
          Returns the cached StackTrace.
 java.lang.String toString()
          Returns a descriptive String.
 
Methods inherited from class com.rational.test.ft.RationalTestError
fillinCombinedStackTrace, getClassName, getContextDescription, printStackTrace, printStackTrace, printStackTrace, setContextDescription, setStackTraceString, throwIt
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RationalTestScriptError

public RationalTestScriptError(java.lang.String errorName,                                java.lang.String errorMessage,                                java.lang.String scriptName,                                int line,                                java.lang.String stackTrace)
Method Detail

getErrorName

public java.lang.String getErrorName()
Returns the cached ErrorName.

Since:
RFT1.0

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

getStackTraceString

public java.lang.String getStackTraceString()
Returns the cached StackTrace.

Specified by:
getStackTraceString in interface IRationalThrowable
Overrides:
getStackTraceString in class RationalTestError
Since:
RFT1.1

toString

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

Overrides:
toString in class java.lang.Throwable
Since:
RFT1.0