|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorReporter
An interface for reporting SCXML errors to the host environment, containing the definition of commonly occuring errors while executing SCXML documents.
Field Summary | |
---|---|
static java.lang.String |
EXPRESSION_ERROR
An expression language error. |
static java.lang.String |
ILLEGAL_CONFIG
Illegal state machine configuration. |
static java.lang.String |
ILLEGAL_INITIAL
An initial state for a composite state whose Transition does not Map to a descendant of the composite state. |
static java.lang.String |
NO_INITIAL
Missing initial state for a composite state or for the smxml root. |
static java.lang.String |
NON_DETERMINISTIC
Non-deterministic situation has occured - there are more than one enabled transitions in conflict. |
static java.lang.String |
UNDEFINED_VARIABLE
A variable reffered to by assign@name is undefined. |
static java.lang.String |
UNKNOWN_ACTION
Unknown action - unsupported executable content. |
Method Summary | |
---|---|
void |
onError(java.lang.String errCode,
java.lang.String errDetail,
java.lang.Object errCtx)
|
Field Detail |
---|
static final java.lang.String NO_INITIAL
SCXML.getInitialState()
,
State.getInitial()
,
Constant Field Valuesstatic final java.lang.String ILLEGAL_INITIAL
static final java.lang.String UNKNOWN_ACTION
static final java.lang.String ILLEGAL_CONFIG
static final java.lang.String NON_DETERMINISTIC
static final java.lang.String UNDEFINED_VARIABLE
static final java.lang.String EXPRESSION_ERROR
Method Detail |
---|
void onError(java.lang.String errCode, java.lang.String errDetail, java.lang.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 |