public interface IRationalThrowable
RationalTestError
and RationalTestException
.Modifier and Type | Method and Description |
---|---|
IRationalThrowable |
fillinCombinedStackTrace()
Combines the current stack in the current thread with the
stacktrace from this exception.
|
java.lang.String |
getClassName()
Returns the classname of the
Throwable exception. |
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 for the current exception. |
void |
setContextDescription(java.lang.String s)
Sets the exception context description.
|
void |
setStackTraceString(java.lang.String s)
Sets the
String representation of the stack for the current exception. |
void |
throwIt()
Throws this throwable exception.
|
java.lang.String getStackTraceString()
String
representation of the stack for the current exception.void setStackTraceString(java.lang.String s)
String
representation of the stack for the current exception.
If this value is not explicitly set, the stacktrace from the underlying Throwable
is returned from getStackTraceString
.java.lang.String getClassName()
Throwable
exception. Note that WrappedException
overrides this
and returns the name of the wrapped exception.IRationalThrowable fillinCombinedStackTrace()
String
value.java.lang.String getContextDescription()
void setContextDescription(java.lang.String s)
void throwIt()