org.javasteps
Class StepActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.javasteps.StepActionException
All Implemented Interfaces:
Serializable

public class StepActionException
extends Exception

An application exception that might be thrown from a StepAction. The Process will catch these exceptions and according to the fatal flag, decide if the process should stop.

Version:
1.1
Author:
Ran Kornfeld
See Also:
Serialized Form

Field Summary
protected  boolean fatal
           
 
Constructor Summary
StepActionException(String message)
           
StepActionException(String message, boolean fatal)
           
StepActionException(String message, Throwable cause)
           
StepActionException(String message, Throwable cause, boolean fatal)
           
 
Method Summary
 boolean isFatal()
           
 void setFatal(boolean fatal)
           
 
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
 

Field Detail

fatal

protected boolean fatal
Constructor Detail

StepActionException

public StepActionException(String message)

StepActionException

public StepActionException(String message,
                           boolean fatal)

StepActionException

public StepActionException(String message,
                           Throwable cause)

StepActionException

public StepActionException(String message,
                           Throwable cause,
                           boolean fatal)
Method Detail

isFatal

public boolean isFatal()

setFatal

public void setFatal(boolean fatal)