|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for reporting SCXML errors to the host environment, containing the definition of commonly occuring errors while executing SCXML documents.
Field Summary | |
---|---|
static String |
EXPRESSION_ERROR
An expression language error. |
static String |
ILLEGAL_CONFIG
Illegal state machine configuration. |
static String |
ILLEGAL_INITIAL
An initial state for a composite state whose Transition does not. |
static String |
NO_INITIAL
Missing initial state for a composite state or for the smxml root. |
static String |
NON_DETERMINISTIC
Non-deterministic situation has occured - there are more than one enabled transitions in conflict. |
static String |
UNDEFINED_VARIABLE
A variable referred to by assign name attribute is undefined. |
static String |
UNKNOWN_ACTION
Unknown action - unsupported executable content. |
Method Summary | |
---|---|
void |
onError(String errCode,
String errDetail,
Object errCtx)
Handler for reporting an error. |
Field Detail |
public static final String NO_INITIAL
SCXML.getInitialState()
,
State.getInitial()
,
Constant Field Valuespublic static final String ILLEGAL_INITIAL
public static final String UNKNOWN_ACTION
public static final String ILLEGAL_CONFIG
public static final String NON_DETERMINISTIC
public static final String UNDEFINED_VARIABLE
public static final String EXPRESSION_ERROR
Method Detail |
public void onError(String errCode, String errDetail, Object errCtx)
errCode
- one of the ErrorReporter's constantserrDetail
- human readable descriptionerrCtx
- typically an SCXML element which caused an error,
may be accompanied by additional information
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |