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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatingErrorHandler
public ValidatingErrorHandler()
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
Copyright © 2006 Apache Software Foundation. All Rights Reserved.