Package com.opencloud.sce.fsmtool
Class FSMExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.opencloud.sce.fsmtool.FSMExecutionException
-
- All Implemented Interfaces:
Serializable
public class FSMExecutionException extends RuntimeException
Exception thrown by a generated FSM class which contains the current status of the FSM. Where the call stack includes multiple FSMs, the status of all FSM in the stack will be aggregated in this exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSMExecutionException()
FSMExecutionException(Throwable arg0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFsmDebugInfo(String debugInfo)
Prepend the FSM debug info so the order is from calling fsm to called fsmString
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FSMExecutionException
public FSMExecutionException()
-
FSMExecutionException
public FSMExecutionException(Throwable arg0)
-
-
Method Detail
-
addFsmDebugInfo
public void addFsmDebugInfo(String debugInfo)
Prepend the FSM debug info so the order is from calling fsm to called fsm- Parameters:
debugInfo
- FSM debug information
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-