org.apache.excalibur.event
Class SinkClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.excalibur.event.SinkException
org.apache.excalibur.event.SinkClosedException
- All Implemented Interfaces:
- java.io.Serializable
- public class SinkClosedException
- extends SinkException
A SinkClosedException is thrown when an enqueue operation occurs on a
queue that is already closed.
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:
- Avalon Development Team
- See Also:
- Serialized Form
Constructor Summary |
SinkClosedException(java.lang.String message)
Create a SinkClosedException with an associated message. |
SinkClosedException(java.lang.String message,
java.lang.Throwable e)
Create a SinkClosedException with an associated message
and the original exception that caused the problem. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SinkClosedException
public SinkClosedException(java.lang.String message)
- Create a
SinkClosedException
with an associated message.
- Parameters:
message
- The string message to print in the stack trace
SinkClosedException
public SinkClosedException(java.lang.String message,
java.lang.Throwable 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.
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.