org.apache.cocoon.util
Class TraxErrorHandler
java.lang.Object
org.apache.cocoon.util.TraxErrorHandler
- All Implemented Interfaces:
- ErrorListener
public class TraxErrorHandler
- extends Object
- implements ErrorListener
This ErrorListener simply logs the exception and in
case of an fatal-error the exception is rethrown.
Warnings and errors are ignored.
- Version:
- CVS $Id: TraxErrorHandler.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraxErrorHandler
public TraxErrorHandler(Logger logger)
warning
public void warning(TransformerException exception)
throws TransformerException
- Specified by:
warning
in interface ErrorListener
- Throws:
TransformerException
error
public void error(TransformerException exception)
throws TransformerException
- Specified by:
error
in interface ErrorListener
- Throws:
TransformerException
fatalError
public void fatalError(TransformerException exception)
throws TransformerException
- Specified by:
fatalError
in interface ErrorListener
- Throws:
TransformerException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.