edu.internet2.middleware.shibboleth.common.config
Class SpringDocumentLoader.LoggingErrorHandler
java.lang.Object
edu.internet2.middleware.shibboleth.common.config.SpringDocumentLoader.LoggingErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- Enclosing class:
- SpringDocumentLoader
public class SpringDocumentLoader.LoggingErrorHandler
- extends Object
- implements ErrorHandler
A SAX error handler that logs errors a Logger
before rethrowing them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringDocumentLoader.LoggingErrorHandler
public SpringDocumentLoader.LoggingErrorHandler(org.slf4j.Logger logger)
- Constructor.
- Parameters:
logger
- logger errors will be written to
error
public void error(SAXParseException exception)
throws SAXException
-
- Specified by:
error
in interface ErrorHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
-
- Specified by:
fatalError
in interface ErrorHandler
- Throws:
SAXException
warning
public void warning(SAXParseException exception)
throws SAXException
-
- Specified by:
warning
in interface ErrorHandler
- Throws:
SAXException
Copyright © 2006-2008 Internet2. All Rights Reserved.