org.loom.exception
Class WorkflowInterruption

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.loom.exception.WorkflowInterruption
All Implemented Interfaces:
java.io.Serializable

public class WorkflowInterruption
extends java.lang.Exception

Thrown when the workflow execution must be interrupted. This is not really an exception, and includes the Resolution that should be returned to the browser.

See Also:
Serialized Form

Constructor Summary
WorkflowInterruption(Phase phase, Resolution resolution)
           
 
Method Summary
 Phase getPhase()
           
 Resolution getResolution()
           
 
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

WorkflowInterruption

public WorkflowInterruption(Phase phase,
                            Resolution resolution)
Method Detail

getResolution

public Resolution getResolution()

getPhase

public Phase getPhase()