org.barracudamvc.core.event
Class InterruptDispatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.barracudamvc.plankton.exceptions.NestableException
              extended by org.barracudamvc.core.event.EventException
                  extended by org.barracudamvc.core.event.InterruptDispatchException
All Implemented Interfaces:
Serializable

public class InterruptDispatchException
extends EventException

This class defines a InterruptDispatchException...it is used to interrupt the dispatch, flag all events currently in the queue as handled, and then redispatch the new event

See Also:
Serialized Form

Constructor Summary
InterruptDispatchException(BaseEvent inewEvent)
          The public contructor for InterruptDispatchException
InterruptDispatchException(String s, BaseEvent inewEvent)
          The public contructor for InterruptDispatchException
InterruptDispatchException(String s, BaseEvent inewEvent, Exception ibaseException)
          The public contructor for InterruptDispatchException
 
Method Summary
 BaseEvent getNewEvent()
          Get the new event that triggered this interrupt
 
Methods inherited from class org.barracudamvc.plankton.exceptions.NestableException
getBaseException, getRootException
 
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

InterruptDispatchException

public InterruptDispatchException(BaseEvent inewEvent)
The public contructor for InterruptDispatchException

Parameters:
inewEvent - the event we want to dispatch instead

InterruptDispatchException

public InterruptDispatchException(String s,
                                  BaseEvent inewEvent)
The public contructor for InterruptDispatchException

Parameters:
s - a String describing the exception
inewEvent - the event we want to dispatch instead

InterruptDispatchException

public InterruptDispatchException(String s,
                                  BaseEvent inewEvent,
                                  Exception ibaseException)
The public contructor for InterruptDispatchException

Parameters:
s - a String describing the exception
inewEvent - the event we want to dispatch instead
ibaseException - the root exception behind this error
Method Detail

getNewEvent

public BaseEvent getNewEvent()
Get the new event that triggered this interrupt

Returns:
the event we wish to fire instead


Copyright © 2006 BarracudaMVC.org All Rights Reserved.