public class DefaultErrorHandler extends Object implements ErrorHandler
ErrorHandler
implementation. The implementation is identical to
DefaultHandler
, i.e. ErrorHandler.fatalError(SAXParseException)
throws the
exception passed as parameter, while the other methods do nothing.Modifier and Type | Field and Description |
---|---|
static DefaultErrorHandler |
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
void |
warning(SAXParseException exception) |
public static final DefaultErrorHandler INSTANCE
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
Copyright © The Apache Software Foundation. All Rights Reserved.