Package net.loomchild.segment.util
Class TransformationErrorListener
- java.lang.Object
-
- net.loomchild.segment.util.TransformationErrorListener
-
- All Implemented Interfaces:
ErrorListener
public class TransformationErrorListener extends Object implements ErrorListener
Handles XML transformation errors by writing them to logr.- Author:
- loomchild
-
-
Constructor Summary
Constructors Constructor Description TransformationErrorListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(TransformerException exception)
void
fatalError(TransformerException exception)
void
warning(TransformerException exception)
-
-
-
Method Detail
-
warning
public void warning(TransformerException exception)
- Specified by:
warning
in interfaceErrorListener
-
error
public void error(TransformerException exception) throws TransformerException
- Specified by:
error
in interfaceErrorListener
- Throws:
TransformerException
-
fatalError
public void fatalError(TransformerException exception) throws TransformerException
- Specified by:
fatalError
in interfaceErrorListener
- Throws:
TransformerException
-
-