|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.bankframe.fe.statemachine.base.StateMachineException
Field Summary | |
static java.lang.String |
INVALID_EVENT
This constant is used when the event in an incoming request cannot be found on the statechart. |
static java.lang.String |
INVALID_RESULT_STATE
This constant is used when the statemachine cannot go to the indicated result state for some reason. |
static java.lang.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 java.lang.String |
INVALID_STATE
This constant is used when the event in an incoming request does not come from the last known state. |
static java.lang.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 java.lang.String |
INVALID_USER_SESSION_EVENT
This constant is used when an event rejects a user session due to incorrect authorisaion. |
static java.lang.String |
INVALID_USER_SESSION_STATE
This constant is used when a state rejects a user session due to incorrect authorisation. |
static java.lang.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(java.lang.Exception originalException)
Creates a new StateMachineException including the given original exception. |
|
StateMachineException(java.lang.String msg)
Creates a new StateMachineException with the given message. |
Method Summary | |
java.lang.String |
getJsmExceptionMessage()
|
java.lang.Exception |
getOriginalException()
Returns the original exception, if available. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream out)
|
void |
setJsmExceptionMessage(java.lang.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 java.lang.String INVALID_USER_SESSION_STATE
public static java.lang.String INVALID_USER_SESSION_EVENT
public static java.lang.String NO_EVENT
public static java.lang.String INVALID_STATE
public static java.lang.String INVALID_EVENT
public static java.lang.String INVALID_RESULT_STATE_TRANSITION
public static java.lang.String INVALID_RESULT_STATE
public static java.lang.String INVALID_TRANSITION_ENTRYCONDITION
Constructor Detail |
public StateMachineException()
public StateMachineException(java.lang.String msg)
msg
- the exception messagepublic StateMachineException(java.lang.Exception originalException)
originalException
- the original exception thrownMethod Detail |
public java.lang.Exception getOriginalException()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream out)
public java.lang.String getJsmExceptionMessage()
public void setJsmExceptionMessage(java.lang.String message)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |