| java.lang.Object java.lang.Throwable java.lang.Exception com.lutris.util.ChainedException
All known Subclasses: com.lutris.appserver.server.httpPresentation.HttpPresentationException, com.lutris.appserver.server.session.SessionException, com.lutris.appserver.server.ApplicationException, com.lutris.util.PersistentStoreException, com.lutris.appserver.server.httpPresentation.FilePresentationException,
ChainedException | public class ChainedException extends Exception implements ChainedThrowable(Code) | | Exception used as a base for creating an exception that has a chain of
exceptions that lead to the derived exception. Very useful for interfaces
where the implementation exception is not known.
|
Method Summary | |
public Throwable | getCause() Get the causing exception associated with this exception. | public String | getMessage() Return the message associated with this exception. | public void | printStackTrace() Prints this ChainedException and its backtrace, and the causes
and their stack traces to the standard error stream. | public void | printStackTrace(PrintStream s) Prints this ChainedException and its backtrace, and the causes
and their stack traces to the e specified print stream. | public void | printStackTrace(PrintWriter s) Prints this ChainedException and its backtrace, and the causes
and their stack traces to the e specified print writer. |
ChainedException | public ChainedException(String msg)(Code) | | Construct an exception without a specified cause.
Parameters: msg - The message associated with the exception. |
ChainedException | public ChainedException(String msg, Throwable cause)(Code) | | Construct an exception with an associated causing exception.
Parameters: msg - The message associated with the exception. Parameters: cause - The error or exception that cause thisexception. |
ChainedException | public ChainedException(Throwable cause)(Code) | | Construct an exception from a causing exception.
Parameters: cause - The error or exception that cause thisexception. The message will be take be this object'smessasge. |
getCause | public Throwable getCause()(Code) | | Get the causing exception associated with this exception.
The causing exception or null if no cause is specified. |
getMessage | public String getMessage()(Code) | | Return the message associated with this exception. If causes
are included, they will be appended to the message.
|
printStackTrace | public void printStackTrace()(Code) | | Prints this ChainedException and its backtrace, and the causes
and their stack traces to the standard error stream.
|
printStackTrace | public void printStackTrace(PrintStream s)(Code) | | Prints this ChainedException and its backtrace, and the causes
and their stack traces to the e specified print stream.
|
printStackTrace | public void printStackTrace(PrintWriter s)(Code) | | Prints this ChainedException and its backtrace, and the causes
and their stack traces to the e specified print writer.
|
|
|