| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.cactus.util.ChainedException
All known Subclasses: org.apache.cactus.internal.client.ParsingException, org.apache.cactus.internal.client.ClientException,
ChainedException | public class ChainedException extends Exception (Code) | | A checked chained exception.
version: $Id: ChainedException.java 238991 2004-05-22 11:34:50Z vmassol $ |
Constructor Summary | |
public | ChainedException(String theMessage) Create a ChainedException and set the exception error
message. | public | ChainedException(String theMessage, Throwable theException) Create a ChainedException , set the exception error
message along with the exception object that caused this exception. | public | ChainedException(Throwable theException) Create a ChaineException , and set exception object
that caused this exception. |
originalException | protected Throwable originalException(Code) | | Original exception which caused this exception.
|
ChainedException | public ChainedException(String theMessage)(Code) | | Create a ChainedException and set the exception error
message.
Parameters: theMessage - the message of the exception |
ChainedException | public ChainedException(String theMessage, Throwable theException)(Code) | | Create a ChainedException , 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 |
ChainedException | public ChainedException(Throwable theException)(Code) | | Create a ChaineException , 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 |
|
|