|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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 String |
EXPRESSION_ERROR
Deprecated. Use ErrorConstants.EXPRESSION_ERROR instead. |
static String |
ILLEGAL_CONFIG
Deprecated. Use ErrorConstants.ILLEGAL_CONFIG instead. |
static String |
ILLEGAL_INITIAL
Deprecated. Use ErrorConstants.ILLEGAL_INITIAL instead. |
static String |
NO_INITIAL
Deprecated. Use ErrorConstants.NO_INITIAL instead. |
static String |
NON_DETERMINISTIC
Deprecated. No longer necessary, non determinism is solved based on state heirarchy and document order priorities. |
static String |
UNDEFINED_VARIABLE
Deprecated. Use ErrorConstants.UNDEFINED_VARIABLE instead. |
static String |
UNKNOWN_ACTION
Deprecated. Use ErrorConstants.UNKNOWN_ACTION instead. |
Method Summary | |
---|---|
void |
onError(String errCode,
String errDetail,
Object errCtx)
Handler for reporting an error. |
Field Detail |
---|
static final String NO_INITIAL
ErrorConstants.NO_INITIAL
instead.
SCXML.getInitialState()
,
State.getInitial()
,
Constant Field Valuesstatic final String ILLEGAL_INITIAL
ErrorConstants.ILLEGAL_INITIAL
instead.
static final String UNKNOWN_ACTION
ErrorConstants.UNKNOWN_ACTION
instead.
static final String ILLEGAL_CONFIG
ErrorConstants.ILLEGAL_CONFIG
instead.
static final String NON_DETERMINISTIC
static final String UNDEFINED_VARIABLE
ErrorConstants.UNDEFINED_VARIABLE
instead.
static final String EXPRESSION_ERROR
ErrorConstants.EXPRESSION_ERROR
instead.
Method Detail |
---|
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 All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |