| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.lutris.util.ChainedRuntimeException
ChainedRuntimeException | public class ChainedRuntimeException extends RuntimeException implements ChainedThrowable(Code) | | RuntimeException 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 ChainedRuntimeException and its backtrace, and the causes
and their stack traces to the standard error stream. | public void | printStackTrace(PrintStream s) Prints this ChainedRuntimeException and its backtrace, and the causes
and their stack traces to the e specified print stream. | public void | printStackTrace(PrintWriter s) Prints this ChainedRuntimeException and its backtrace, and the causes
and their stack traces to the e specified print writer. |
ChainedRuntimeException | public ChainedRuntimeException(String msg)(Code) | | Construct an exception without a specified cause.
Parameters: msg - The message associated with the exception. |
ChainedRuntimeException | public ChainedRuntimeException(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. |
ChainedRuntimeException | public ChainedRuntimeException(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 ChainedRuntimeException and its backtrace, and the causes
and their stack traces to the standard error stream.
|
printStackTrace | public void printStackTrace(PrintStream s)(Code) | | Prints this ChainedRuntimeException 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 ChainedRuntimeException and its backtrace, and the causes
and their stack traces to the e specified print writer.
|
|
|