org.d_haven.event

Class EnqueuePredicateFailedException

public class EnqueuePredicateFailedException extends SinkException

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(String message)
Construct a new SinkException instance.
EnqueuePredicateFailedException(String message, Exception throwable)
Construct a new SinkException instance.
Method Summary
StringtoString()

Constructor Detail

EnqueuePredicateFailedException

public EnqueuePredicateFailedException(String message)
Construct a new SinkException instance.

Parameters: message The detail message for this exception.

EnqueuePredicateFailedException

public EnqueuePredicateFailedException(String message, Exception throwable)
Construct a new SinkException instance.

Parameters: message The detail message for this exception. throwable the root cause of the exception

Method Detail

toString

public String toString()