seda.sandStorm.api
Class BadQueueElementException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byseda.sandStorm.api.SinkException
              extended byseda.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.
 
Fields inherited from class java.lang.Exception
 
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