Package org.apache.solr.common.util
Class XMLErrorLogger
- java.lang.Object
-
- org.apache.solr.common.util.XMLErrorLogger
-
- All Implemented Interfaces:
XMLReporter
,ErrorListener
,ErrorHandler
public final class XMLErrorLogger extends Object implements ErrorHandler, ErrorListener, XMLReporter
-
-
Constructor Summary
Constructors Constructor Description XMLErrorLogger(org.slf4j.Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(TransformerException e)
void
error(SAXParseException e)
void
fatalError(TransformerException e)
void
fatalError(SAXParseException e)
void
report(String message, String errorType, Object relatedInformation, Location loc)
void
warning(TransformerException e)
void
warning(SAXParseException e)
-
-
-
Method Detail
-
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interfaceErrorHandler
-
error
public void error(SAXParseException e) throws SAXException
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException e) throws SAXException
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
warning
public void warning(TransformerException e)
- Specified by:
warning
in interfaceErrorListener
-
error
public void error(TransformerException e) throws TransformerException
- Specified by:
error
in interfaceErrorListener
- Throws:
TransformerException
-
fatalError
public void fatalError(TransformerException e) throws TransformerException
- Specified by:
fatalError
in interfaceErrorListener
- Throws:
TransformerException
-
-