public final class TransformerErrorListener extends Object implements ErrorListener
ErrorListener that reacts to errors when transforming (applying) a
stylesheet.| Modifier and Type | Field and Description |
|---|---|
TransformerException |
exception
We store the exception internally as a workaround to xalan, which reports
TransformerException as RuntimeException (wrapped). |
| Constructor and Description |
|---|
TransformerErrorListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(TransformerException e) |
void |
fatalError(TransformerException e)
Unrecoverable errors cause an exception to be rethrown.
|
void |
warning(TransformerException e) |
public TransformerException exception
TransformerException as RuntimeException (wrapped).public void warning(TransformerException e) throws TransformerException
warning in interface ErrorListenerTransformerExceptionpublic void error(TransformerException e) throws TransformerException
error in interface ErrorListenerTransformerExceptionpublic void fatalError(TransformerException e) throws TransformerException
fatalError in interface ErrorListenerTransformerException