public class ExceptionErrorHandler extends Object implements ErrorHandler
XmlException on any error,
and maintains a list of warnings. This is used by ParseUtil,
to avoid the logging of the default error handler.| Constructor and Description |
|---|
ExceptionErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
List<SAXParseException> |
getWarnings()
Returns the list of warnings generated during parsing.
|
void |
warning(SAXParseException e) |
public void error(SAXParseException e) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic List<SAXParseException> getWarnings()
null.