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 voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)List<SAXParseException>getErrors()List<SAXParseException>getWarnings()voidlogFindings(Log log, String source)voidwarning(SAXParseException exception)
-
-
-
Method Detail
-
error
public void error(SAXParseException exception) throws SAXException
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException exception) throws SAXException
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-
warning
public void warning(SAXParseException exception) throws SAXException
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
getErrors
public List<SAXParseException> getErrors()
-
getWarnings
public List<SAXParseException> getWarnings()
-
-