org.speakright.core
Class ThrowEvent

java.lang.Object
  extended by org.speakright.core.FlowBase
      extended by org.speakright.core.ControlFlow
          extended by org.speakright.core.ThrowEvent
All Implemented Interfaces:
java.io.Serializable, IFlow
Direct Known Subclasses:
AppEvent

public class ThrowEvent
extends ControlFlow

"Throws" an event. SpeakRight will find a matching event handler to process the event. It is an error for an event not to be caught.

Although SpeakRight uses the term "throwing an event", there are no Java execptions being thrown. The throw is merely in terms of the flow stack that the SpeakRight interpreter uses to hold the currently executing flow objects.

Author:
Ian Rae
See Also:
Serialized Form

Constructor Summary
ThrowEvent()
           
 
Method Summary
 
Methods inherited from class org.speakright.core.FlowBase
createRenderer, execute, executionCount, fixupGrammar, fixupPrompt, getFirst, getNext, getSubFlowAfter, log, logError, name, onBegin, onCatch, onComplete, onDisconnect, onEnd, onNoInput, onPlatformError, onTransferFailed, onValidateFailed, promptGroup, setExecutionCount, setName, setPromptGroup, shouldExecute, validateInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowEvent

public ThrowEvent()