public class SinkException
extends java.lang.Exception
The interface design is heavily influenced by Matt Welsh's SandStorm server, his demonstration of the SEDA architecture. We have deviated where we felt the design differences where better.
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
m_throwable
The Throwable that caused this exception to be thrown.
|
| Constructor and Description |
|---|
SinkException(java.lang.String message)
Construct a new
SinkException instance. |
SinkException(java.lang.String message,
java.lang.Throwable throwable)
Construct a new
SinkException instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Retrieve root cause of the exception.
|
private final java.lang.Throwable m_throwable
public SinkException(java.lang.String message)
SinkException instance.message - The detail message for this exception.public SinkException(java.lang.String message,
java.lang.Throwable throwable)
SinkException instance.message - The detail message for this exception.throwable - the root cause of the exception