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.openjpa.lib.xml
Class ValidatingErrorHandler

    java.lang.Object
      org.apache.openjpa.lib.xml.ValidatingErrorHandler

All Implemented Interfaces:
  ErrorHandler

    public class ValidatingErrorHandler

extends Object
implements ErrorHandler

ErrorHandler implementation which overrides the default behavior of ignoring parse errors to throw a `SAXException` instead. This handler is used by the validating parsers of the `XMLFactory`.

Author:
  Abe White

Constructor Summary
`ValidatingErrorHandler()`

Method Summary
`void` | `error(SAXParseException e)`
`void` | `fatalError(SAXParseException e)`
`void` | `warning(SAXParseException e)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ValidatingErrorHandler

    public ValidatingErrorHandler()

Method Detail

### warning

    public void warning(SAXParseException e)
                 throws SAXException

  Specified by:
    `warning` in interface `ErrorHandler`
  Throws:
    `SAXException`

### error

    public void error(SAXParseException e)
               throws SAXException

  Specified by:
    `error` in interface `ErrorHandler`
  Throws:
    `SAXException`

### fatalError

    public void fatalError(SAXParseException e)
                    throws SAXException

  Specified by:
    `fatalError` in interface `ErrorHandler`
  Throws:
    `SAXException`

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 © 2006 Apache Software Foundation. All Rights Reserved.