|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.excalibur.event.SinkException
public class SinkException
A SourceException is thrown when an enqueue operation fails.
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.
Field Summary | |
---|---|
private java.lang.Throwable |
m_throwable
The Throwable that caused this exception to be thrown. |
Constructor Summary | |
---|---|
SinkException(java.lang.String message)
Construct a new SinkException instance. |
|
SinkException(java.lang.String message,
java.lang.Throwable throwable)
Construct a new SinkException instance. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Retrieve root cause of the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.lang.Throwable m_throwable
Constructor Detail |
---|
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 exceptionMethod Detail |
---|
public final java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |