|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.env.SimpleErrorReporter
public class SimpleErrorReporter
Custom error reporter that log execution errors.
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.scxml.ErrorReporter |
|---|
EXPRESSION_ERROR, ILLEGAL_CONFIG, ILLEGAL_INITIAL, NO_INITIAL, NON_DETERMINISTIC, UNDEFINED_VARIABLE, UNKNOWN_ACTION |
| Constructor Summary | |
|---|---|
SimpleErrorReporter()
Constructor. |
|
| Method Summary | |
|---|---|
void |
onError(java.lang.String errorCode,
java.lang.String errDetail,
java.lang.Object errCtx)
Handler for reporting an error. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleErrorReporter()
| Method Detail |
|---|
public void onError(java.lang.String errorCode,
java.lang.String errDetail,
java.lang.Object errCtx)
ErrorReporter
onError in interface ErrorReportererrorCode - one of the ErrorReporter's constantserrDetail - human readable descriptionerrCtx - typically an SCXML element which caused an error,
may be accompanied by additional informationErrorReporter.onError(String, String, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||