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:
- 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
SinkClosedException
public SinkClosedException(String message)
- Create a
SinkClosedException
with an associated message.
- Parameters:
message
- The string message to print in the stack trace
SinkClosedException
public SinkClosedException(String message,
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 © 2012 Apache Software Foundation. All Rights Reserved.