seda.sandStorm.api
Class SinkClosedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by seda.sandStorm.api.SinkException
              extended by seda.sandStorm.api.SinkClosedException
All Implemented Interfaces:
java.io.Serializable

public class SinkClosedException
extends SinkException

This exception is thrown if one attempts to enqueue a new element onto a sink which is closed. A sink is considered closed when it is no longer being serviced by any application component.

As opposed to SinkClosedEvent, which is pushed when a sink closes asynchronously, SinkClosedException is thrown immediately when attempting to enqueue onto a closed sink.

See Also:
SinkClosedEvent, Serialized Form

Constructor Summary
SinkClosedException()
           
SinkClosedException(java.lang.String s)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

SinkClosedException

public SinkClosedException()

SinkClosedException

public SinkClosedException(java.lang.String s)