org.d_haven.event

Class SinkFullException

public class SinkFullException extends SinkException

A SinkException is thrown when an enqueue operation occurs on a queue that is already full.

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
SinkFullException(String message)
Create a SinkFullException with an associated message.
SinkFullException(String message, Exception e)
Create a SinkClosedException with an associated message and the original exception that caused the problem.
Method Summary
StringtoString()

Constructor Detail

SinkFullException

public SinkFullException(String message)
Create a SinkFullException with an associated message.

Parameters: message The string message to print in the stack trace

SinkFullException

public SinkFullException(String message, Exception e)
Create a SinkClosedException with an associated message and the original exception that caused the problem.

Parameters: message The string message to print in the stack trace e The exception that caused this one.

Method Detail

toString

public String toString()