gov.nasa.pds.tools.label
Class TransformerErrorListener

java.lang.Object
  extended by gov.nasa.pds.tools.label.TransformerErrorListener
All Implemented Interfaces:
ErrorListener

public class TransformerErrorListener
extends Object
implements ErrorListener

Listener class to simply throw exceptions when an error occurs when transforming a schematron. This prevents transformer error messages from appearing on the standard out.

Author:
mcayanan

Constructor Summary
TransformerErrorListener()
           
 
Method Summary
 void error(TransformerException exception)
           
 void fatalError(TransformerException exception)
           
 void warning(TransformerException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerErrorListener

public TransformerErrorListener()
Method Detail

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

warning

public void warning(TransformerException exception)
             throws TransformerException
Specified by:
warning in interface ErrorListener
Throws:
TransformerException


Copyright © 2010–2014 Planetary Data System. All rights reserved.