public abstract class NestedException extends RationalTestException
NestedException
is thrown
upon generation of an Exception
that must be treated as a RuntimeException
.Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
className, fillinCombinedStackTrace, getClassName, getContextDescription, getMessage, getReplacedExceptionMessage, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, setContextDescription, setStackTraceString, stackTraceString, throwIt
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)
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.Throwable
public void setNestedException(java.lang.Throwable e)