org.d_haven.event

Class SinkException

public class SinkException extends Exception

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.

Author: Berin Loritsch

Constructor Summary
SinkException(String message)
Construct a new SinkException instance.
SinkException(String message, Exception throwable)
Construct a new SinkException instance.
Method Summary
StringtoString()
Get the string representation of this exception.

Constructor Detail

SinkException

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

Parameters: message The detail message for this exception.

SinkException

public SinkException(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()
Get the string representation of this exception.

Returns: the string message