org.apache.excalibur.event
Class SinkFullException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.excalibur.event.SinkException
                    |
                    +--org.apache.excalibur.event.SinkFullException
All Implemented Interfaces:
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(String message)
          Create a SinkFullException with an associated message.
SinkFullException(String message, Throwable e)
          Create a SinkClosedException with an associated message and the original exception that caused the problem.
 
Methods inherited from class org.apache.excalibur.event.SinkException
getCause
 
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
 

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,
                         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 trace
e - The exception that caused this one.


Copyright © 2002 Apache Avalon Project. All Rights Reserved.