org.opencms.xml
Class CmsXmlErrorHandler
java.lang.Object
org.opencms.xml.CmsXmlErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- public class CmsXmlErrorHandler
- extends Object
- implements ErrorHandler
Error hander for writing errors found during XML validation to the OpenCms log.
Exceptions caused by warnings are suppressed (but written to the log if level is set to WARN).
- Since:
- 6.0.0
- Version:
- $Revision: 1.7 $
- Author:
- Michael Emmerich
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsXmlErrorHandler
public CmsXmlErrorHandler()
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error in interface ErrorHandler
- Throws:
SAXException- See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError in interface ErrorHandler
- Throws:
SAXException- See Also:
ErrorHandler.fatalError(org.xml.sax.SAXParseException)
warning
public void warning(SAXParseException exception)
- Specified by:
warning in interface ErrorHandler
- See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)