public final class BerliozErrorHandler extends Object implements ErrorHandler
This implementation treats all errors as fatal and will always throw an exception.
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
static BerliozErrorHandler |
getInstance()
Returns an error handler instance.
|
void |
warning(SAXParseException exception) |
public void fatalError(SAXParseException exception) throws SAXParseException
fatalError
in interface ErrorHandler
exception
- A SAX parse fatal reported by the SAX parser.SAXParseException
- Identical to the parameter.ErrorHandler.fatalError(org.xml.sax.SAXParseException)
public void error(SAXParseException exception) throws SAXParseException
error
in interface ErrorHandler
exception
- A SAX parse error reported by the SAX parser.SAXParseException
- Identical to the parameter.ErrorHandler.error(org.xml.sax.SAXParseException)
public void warning(SAXParseException exception) throws SAXParseException
warning
in interface ErrorHandler
exception
- A SAX parse warning reported by the SAX parser.SAXParseException
- Identical to the parameter.ErrorHandler.warning(org.xml.sax.SAXParseException)
public static BerliozErrorHandler getInstance()
Copyright © 2016 Allette Systems. All rights reserved.