EAF 7.6 API

com.lutris.util
Interface ChainedThrowable

All Known Implementing Classes:
ApplicationException, ChainedError, ChainedException, ChainedRuntimeException, CreateSessionException, DirectoryException, DuplicateKeyException, FilePresentationException, HttpPresentationException, PersistentStoreException, SessionException

public interface ChainedThrowable

Interfaces for all of the Chained* throwables. This defines the common methods that all implement.


Method Summary
 java.lang.Throwable getCause()
          Get the causing exception associated with this exception.
 java.lang.String getMessage()
          Return the message associated with this exception.
 void printStackTrace()
          Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream.
 void printStackTrace(java.io.PrintStream s)
          Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print writer.
 

Method Detail

getMessage

java.lang.String getMessage()
Return the message associated with this exception. If causes are included, they will be appended to the message.


getCause

java.lang.Throwable getCause()
Get the causing exception associated with this exception.

Returns:
The causing exception or null if no cause is specified.

printStackTrace

void printStackTrace()
Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream.


printStackTrace

void printStackTrace(java.io.PrintStream s)
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print stream.


printStackTrace

void printStackTrace(java.io.PrintWriter s)
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print writer.


EAF 7.6 API