|
||||||||||
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.SinkFullException
public class SinkFullException
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.
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 |
Constructor Detail |
---|
public SinkFullException(java.lang.String message)
SinkFullException
with an associated
message.
message
- The string message to print in the stack tracepublic SinkFullException(java.lang.String message, java.lang.Exception e)
SinkClosedException
with an associated
message and the original exception that caused the problem.
message
- The string message to print in the stack tracee
- The exception that caused this one.Method 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 |