|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bankframe.fe.statemachine.base.StateMachineException
public class StateMachineException
Field Summary | |
---|---|
static String |
INVALID_EVENT
This constant is used when the event in an incoming request cannot be found on the statechart. |
static String |
INVALID_RESULT_STATE
This constant is used when the statemachine cannot go to the indicated result state for some reason. |
static String |
INVALID_RESULT_STATE_TRANSITION
This constant is used when a controller returns a state transition that is not available from the event being processed. |
static String |
INVALID_STATE
This constant is used when the event in an incoming request does not come from the last known state. |
static String |
INVALID_TRANSITION_ENTRYCONDITION
This constant is used when a stateTransition returns a value from getEntryCondition that is not one of the three allowed values. |
static String |
INVALID_USER_SESSION_EVENT
This constant is used when an event rejects a user session due to incorrect authorisaion. |
static String |
INVALID_USER_SESSION_STATE
This constant is used when a state rejects a user session due to incorrect authorisation. |
static String |
NO_EVENT
This constant is used when no event can be read from an incoming request. |
Constructor Summary | |
---|---|
StateMachineException()
Creates a new StateMachineException. |
|
StateMachineException(Exception originalException)
Creates a new StateMachineException including the given original exception. |
|
StateMachineException(String msg)
Creates a new StateMachineException with the given message. |
Method Summary | |
---|---|
String |
getJsmExceptionMessage()
|
Exception |
getOriginalException()
Returns the original exception, if available. |
void |
printStackTrace()
|
void |
printStackTrace(PrintStream out)
|
void |
setJsmExceptionMessage(String message)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String INVALID_USER_SESSION_STATE
public static String INVALID_USER_SESSION_EVENT
public static String NO_EVENT
public static String INVALID_STATE
public static String INVALID_EVENT
public static String INVALID_RESULT_STATE_TRANSITION
public static String INVALID_RESULT_STATE
public static String INVALID_TRANSITION_ENTRYCONDITION
Constructor Detail |
---|
public StateMachineException()
public StateMachineException(String msg)
msg
- the exception messagepublic StateMachineException(Exception originalException)
originalException
- the original exception thrownMethod Detail |
---|
public Exception getOriginalException()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream out)
printStackTrace
in class Throwable
public String getJsmExceptionMessage()
public void setJsmExceptionMessage(String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |