|
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.Exception
java.lang.RuntimeException
com.rational.test.ft.RationalTestException
com.rational.test.ft.NestedException
public abstract class NestedException
Wraps another exception. Typically, a NestedException is thrown upon generation of an Exception that must be treated as a RuntimeException.
| Constructor Summary | |
|---|---|
NestedException(java.lang.String message)
|
|
NestedException(java.lang.String message, java.lang.String nestedExceptionName, java.lang.String nestedExceptionMessage, java.lang.String nestedStackTrace)
|
|
NestedException(java.lang.String message, java.lang.Throwable e)
|
|
| Method Summary | |
|---|---|
IRationalThrowable |
getNestedException()
Returns the nested exception name. |
java.lang.String |
getNestedExceptionMessage()
Returns the nested exception message. |
java.lang.String |
getNestedExceptionName()
Returns the nested exception name. |
java.lang.String |
getNestedExceptionStackTrace()
Returns the nested exception's stackTrace as a string. |
void |
setNestedException(java.lang.Throwable e)
Sets the nested exception. |
java.lang.String |
toString()
Returns a string describing the exception. |
| 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 NestedException(java.lang.String message, java.lang.String nestedExceptionName, java.lang.String nestedExceptionMessage, java.lang.String nestedStackTrace)
public NestedException(java.lang.String message)
public NestedException(java.lang.String message, java.lang.Throwable e)
| Method Detail |
|---|
public IRationalThrowable getNestedException()
public java.lang.String getNestedExceptionName()
public java.lang.String getNestedExceptionMessage()
public java.lang.String getNestedExceptionStackTrace()
stackTrace as a string.
public java.lang.String toString()
toString in class java.lang.Throwablepublic void setNestedException(java.lang.Throwable e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||