org.apache.commons.scxml.env
Class SimpleErrorHandler
java.lang.Object
org.apache.commons.scxml.env.SimpleErrorHandler
- All Implemented Interfaces:
- Serializable, ErrorHandler
public class SimpleErrorHandler
- extends Object
- implements ErrorHandler, Serializable
Custom error handler that logs the parsing errors in the
SCXML document.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleErrorHandler
public SimpleErrorHandler()
- Constructor.
error
public void error(SAXParseException exception)
- Specified by:
error
in interface ErrorHandler
- See Also:
ErrorHandler.error(SAXParseException)
fatalError
public void fatalError(SAXParseException exception)
- Specified by:
fatalError
in interface ErrorHandler
- See Also:
ErrorHandler.fatalError(SAXParseException)
warning
public void warning(SAXParseException exception)
- Specified by:
warning
in interface ErrorHandler
- See Also:
ErrorHandler.warning(SAXParseException)
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.