org.apache.cocoon.pipeline.component.sax
Class XSLTProcessorErrorListener
java.lang.Object
org.apache.cocoon.pipeline.component.sax.XSLTProcessorErrorListener
- All Implemented Interfaces:
- ErrorListener
public class XSLTProcessorErrorListener
- extends Object
- implements ErrorListener
A smart error listener for javax.xml.tranform
that does its best to provide useful error messages.
- Version:
- $Id: XSLTProcessorErrorListener.java 696943 2008-09-19 06:56:50Z reinhard $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLTProcessorErrorListener
public XSLTProcessorErrorListener(Log logger,
String uri)
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
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
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.