| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.cactus.util.ChainedRuntimeException
ChainedRuntimeException | public class ChainedRuntimeException extends RuntimeException (Code) | | Represent an exception that should stop the running test. It is a runtime
exception but it will be caught by JUnit so the application will not stop.
The test will be reported as failed. It implements chaining.
version: $Id: ChainedRuntimeException.java 238991 2004-05-22 11:34:50Z vmassol $ |
originalException | protected Throwable originalException(Code) | | Original exception which caused this exception.
|
ChainedRuntimeException | public ChainedRuntimeException(String theMessage)(Code) | | Create a ChainedRuntimeException and set the exception
error message.
Parameters: theMessage - the message of the exception |
ChainedRuntimeException | public ChainedRuntimeException(String theMessage, Throwable theException)(Code) | | Create a ChainedRuntimeException , set the exception error
message along with the exception object that caused this exception.
Parameters: theMessage - the detail of the error message Parameters: theException - the original exception |
ChainedRuntimeException | public ChainedRuntimeException(Throwable theException)(Code) | | Create a ChainedRuntimeException , and set exception object
that caused this exception. The message is set by default to be the one
from the original exception.
Parameters: theException - the original exception |
printStackTrace | public void printStackTrace()(Code) | | Print the full stack trace, including the original exception.
|
printStackTrace | public void printStackTrace(PrintStream thePs)(Code) | | Print the full stack trace, including the original exception.
Parameters: thePs - the byte stream in which to print the stack trace |
printStackTrace | public void printStackTrace(PrintWriter thePw)(Code) | | Print the full stack trace, including the original exception.
Parameters: thePw - the character stream in which to print the stack trace |
|
|