Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.scxml.env
Class SimpleErrorHandler

    java.lang.Object
      org.apache.commons.scxml.env.SimpleErrorHandler

All Implemented Interfaces:
  ErrorHandler

public class SimpleErrorHandler
extends Object
implements ErrorHandler

Custom error handler that logs the parsing errors in the SCXML document.

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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2006 The Apache Software Foundation. All Rights Reserved.