|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.script.RationalTestScriptException
public class RationalTestScriptException
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.
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 |
---|
public RationalTestScriptException(java.lang.String exceptionName, java.lang.String exceptionMessage, java.lang.String scriptName, int line, java.lang.String stackTrace)
public RationalTestScriptException(java.lang.String scriptName, int line, java.lang.Throwable e)
Method Detail |
---|
public java.lang.String getScriptName()
ScriptName
.
public int getlineNumber()
public java.lang.String toString()
String
.
toString
in class NestedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |