public class DefaultXmlGathererErrorHandler extends Object implements XmlGathererErrorHandler
XmlGathererErrorHandler which collects all errors, and on a fatal exception will propagate an
exception.| Constructor and Description |
|---|
DefaultXmlGathererErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String domain,
String key,
org.mule.apache.xerces.xni.parser.XMLParseException e) |
void |
fatalError(String domain,
String key,
org.mule.apache.xerces.xni.parser.XMLParseException e) |
List<org.mule.apache.xerces.xni.parser.XMLParseException> |
getErrors() |
void |
warning(String domain,
String key,
org.mule.apache.xerces.xni.parser.XMLParseException e) |
public void warning(String domain, String key, org.mule.apache.xerces.xni.parser.XMLParseException e) throws org.mule.apache.xerces.xni.XNIException
warning in interface org.mule.apache.xerces.xni.parser.XMLErrorHandlerorg.mule.apache.xerces.xni.XNIExceptionpublic void error(String domain, String key, org.mule.apache.xerces.xni.parser.XMLParseException e) throws org.mule.apache.xerces.xni.XNIException
error in interface org.mule.apache.xerces.xni.parser.XMLErrorHandlerorg.mule.apache.xerces.xni.XNIExceptionpublic void fatalError(String domain, String key, org.mule.apache.xerces.xni.parser.XMLParseException e) throws org.mule.apache.xerces.xni.XNIException
fatalError in interface org.mule.apache.xerces.xni.parser.XMLErrorHandlerorg.mule.apache.xerces.xni.XNIExceptionpublic List<org.mule.apache.xerces.xni.parser.XMLParseException> getErrors()
getErrors in interface XmlGathererErrorHandlerXMLParseException exceptions gathered from
XMLErrorHandler#error(String, String, XMLErrorHandler).
An empty list means there were no error while parsing the file. Non null.Copyright © 2022 MuleSoft, Inc.. All rights reserved.