org.apache.commons.scxml.env
Class SimpleErrorReporter
java.lang.Object
org.apache.commons.scxml.env.SimpleErrorReporter
- All Implemented Interfaces:
- Serializable, ErrorReporter
public class SimpleErrorReporter
- extends Object
- implements ErrorReporter, Serializable
Custom error reporter that log execution errors.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleErrorReporter
public SimpleErrorReporter()
- Constructor.
onError
public void onError(String errorCode,
String errDetail,
Object errCtx)
- Description copied from interface:
ErrorReporter
- Handler for reporting an error.
- Specified by:
onError
in interface ErrorReporter
- Parameters:
errorCode
- one of the ErrorReporter's constantserrDetail
- human readable descriptionerrCtx
- typically an SCXML element which caused an error,
may be accompanied by additional information- See Also:
ErrorReporter.onError(String, String, Object)
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.