public class NoOpXmlErrorHandler extends Object implements XmlGathererErrorHandler
XmlGathererErrorHandler implementation that doesn't handle errors.| Constructor and Description |
|---|
NoOpXmlErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
List<SAXParseException> |
getErrors() |
void |
warning(SAXParseException e) |
public List<SAXParseException> getErrors()
getErrors in interface XmlGathererErrorHandlerSAXParseException exceptions gathered from ErrorHandler.error(SAXParseException).
An empty list means there were no error while parsing the file. Non null.public void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.