|
||||||||||
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.d_haven.event.SinkException
org.d_haven.event.EnqueuePredicateFailedException
public class EnqueuePredicateFailedException
If the EnqueuePredicate returns false, denying an event to the Sink, the Sink will throw this 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.
Constructor Summary | |
---|---|
EnqueuePredicateFailedException(java.lang.String message)
Construct a new SinkException instance. |
|
EnqueuePredicateFailedException(java.lang.String message,
java.lang.Exception throwable)
Construct a new SinkException instance. |
Method Summary | |
---|---|
java.lang.String |
toString()
Get the string representation of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnqueuePredicateFailedException(java.lang.String message)
SinkException
instance.
message
- The detail message for this exception.public EnqueuePredicateFailedException(java.lang.String message, java.lang.Exception throwable)
SinkException
instance.
message
- The detail message for this exception.throwable
- the root cause of the exceptionMethod Detail |
---|
public java.lang.String toString()
SinkException
toString
in class SinkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |