org.apache.cocoon.components.xslt
Class TraxErrorListener
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.xslt.TraxErrorListener
- All Implemented Interfaces:
- ErrorListener
- public class TraxErrorListener
- extends org.apache.cocoon.util.AbstractLogEnabled
- implements ErrorListener
A smart error listener for javax.xml.tranform
that does its best to provide
useful error messages.
- Since:
- 2.1.8
- Version:
- $Id: TraxErrorListener.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraxErrorListener
public TraxErrorListener(String uri)
getThrowable
public Throwable getThrowable()
- Get the exception that was catched by this listener, if any.
- Returns:
- the exception
warning
public void warning(TransformerException ex)
throws TransformerException
- Specified by:
warning
in interface ErrorListener
- Throws:
TransformerException
error
public void error(TransformerException ex)
throws TransformerException
- Specified by:
error
in interface ErrorListener
- Throws:
TransformerException
fatalError
public void fatalError(TransformerException ex)
throws TransformerException
- Specified by:
fatalError
in interface ErrorListener
- Throws:
TransformerException
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.