Class XmlErrorHandler
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.XmlErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class XmlErrorHandler extends Object implements ErrorHandler
-
-
Constructor Summary
Constructors Constructor Description XmlErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(SAXParseException exception)
void
fatalError(SAXParseException exception)
List<SAXParseException>
getErrors()
List<SAXParseException>
getWarnings()
void
logFindings(Log log, String source)
void
warning(SAXParseException exception)
-
-
-
Method Detail
-
error
public void error(SAXParseException exception) throws SAXException
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException exception) throws SAXException
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
warning
public void warning(SAXParseException exception) throws SAXException
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
getErrors
public List<SAXParseException> getErrors()
-
getWarnings
public List<SAXParseException> getWarnings()
-
-