seda.sandStorm.api
Class BadQueueElementException

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

public class BadQueueElementException
extends SinkException

This exception can be thrown if an inappropriate queue element is pushed onto a SinkIF.

See Also:
Serialized Form

Field Summary
 QueueElementIF event
          The event that was received.
 
Constructor Summary
BadQueueElementException(java.lang.String msg, QueueElementIF event)
          Create a new BadQueueElementException with the given explanatory message and event.
 
Method Summary
 java.lang.String toString()
          make sure the event is added to debugging output
 
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
 

Field Detail

event

public QueueElementIF event
The event that was received.

Constructor Detail

BadQueueElementException

public BadQueueElementException(java.lang.String msg,
                                QueueElementIF event)
Create a new BadQueueElementException with the given explanatory message and event.

Method Detail

toString

public java.lang.String toString()
make sure the event is added to debugging output

Overrides:
toString in class java.lang.Throwable