|
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.Objectjava.lang.Throwable
java.lang.Error
com.rational.test.ft.RationalTestError
public class RationalTestError
The base class for all test Errors. Such Errors are not common. When they occur, they indicate a failure of the script. You should not catch these Errors.
Instead, allow them to terminate the script execution.
| Constructor Summary | |
|---|---|
RationalTestError()
|
|
RationalTestError(java.lang.String msg)
|
|
RationalTestError(java.lang.String msg, java.lang.String stackTrace)
|
|
| Method Summary | |
|---|---|
IRationalThrowable |
fillinCombinedStackTrace()
Combines the current stack (in the current thread) with the stack trace from this exception. |
java.lang.String |
getClassName()
Returns the class name. |
java.lang.String |
getContextDescription()
Gets a description of the context of the exception within a script. |
java.lang.String |
getStackTraceString()
Gets a String representation of the stack at the point when the current exception was constructed. |
void |
printStackTrace()
Prints a String representation of the stack
to System.err. |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace stream to a PrintStream object. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace stream to a PrintWriter object. |
void |
setContextDescription(java.lang.String s)
Sets the exception context description. |
void |
setStackTraceString(java.lang.String s)
Sets a String representation of the stack at the point when the current exception was constructed. |
void |
throwIt()
Throws this throwable exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RationalTestError()
public RationalTestError(java.lang.String msg)
public RationalTestError(java.lang.String msg, java.lang.String stackTrace)
| Method Detail |
|---|
public java.lang.String getClassName()
getClassName in interface IRationalThrowablepublic java.lang.String getStackTraceString()
String representation of the stack at the point when the current exception was constructed.
getStackTraceString in interface IRationalThrowablepublic void setStackTraceString(java.lang.String s)
String representation of the stack at the point when the current exception was constructed.
setStackTraceString in interface IRationalThrowablepublic void printStackTrace()
String representation of the stack
to System.err.
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
PrintStream object.
printStackTrace in class java.lang.Throwables - the stack trace streampublic void printStackTrace(java.io.PrintWriter s)
PrintWriter object.
printStackTrace in class java.lang.Throwables - the stack trace streampublic java.lang.String getContextDescription()
getContextDescription in interface IRationalThrowablepublic void setContextDescription(java.lang.String s)
setContextDescription in interface IRationalThrowablepublic void throwIt()
throwIt in interface IRationalThrowablepublic IRationalThrowable fillinCombinedStackTrace()
String.
fillinCombinedStackTrace in interface IRationalThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||