org.d_haven.event
Class SinkFullException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.d_haven.event.SinkException
org.d_haven.event.SinkFullException
- All Implemented Interfaces:
- java.io.Serializable
- 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
- See Also:
- Serialized Form
Constructor Summary |
SinkFullException(java.lang.String message)
Create a SinkFullException with an associated
message. |
SinkFullException(java.lang.String message,
java.lang.Exception e)
Create a SinkClosedException with an associated
message and the original exception that caused the problem. |
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 |
SinkFullException
public SinkFullException(java.lang.String message)
- Create a
SinkFullException
with an associated
message.
- Parameters:
message
- The string message to print in the stack trace
SinkFullException
public SinkFullException(java.lang.String message,
java.lang.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 tracee
- The exception that caused this one.
toString
public java.lang.String toString()
- Description copied from class:
SinkException
- Get the string representation of this exception.
- Overrides:
toString
in class SinkException
- Returns:
- the string message
Copyright © 2004-2007 D-Haven.org. All Rights Reserved.