org.apache.commons.scxml.env
Class SimpleErrorHandler

java.lang.Object
  extended by 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

Constructor Summary
SimpleErrorHandler()
          Constructor.
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleErrorHandler

public SimpleErrorHandler()
Constructor.

Method Detail

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.