|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.harvest.util.XMLErrorListener
public class XMLErrorListener
Class that handles errors while parsing an XML file.
Constructor Summary | |
---|---|
XMLErrorListener()
|
Method Summary | |
---|---|
void |
error(TransformerException exception)
Method is called when an error is encountered. |
void |
fatalError(TransformerException exception)
Method is called when a fatal error is encountered. |
void |
warning(TransformerException exception)
Method is called when a warning is encountered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLErrorListener()
Method Detail |
---|
public void error(TransformerException exception) throws TransformerException
error
in interface ErrorListener
exception
- The exception containing the error.
TransformerException
- Throws the exception.public void fatalError(TransformerException exception) throws TransformerException
fatalError
in interface ErrorListener
exception
- The exception containing the fatal error.
TransformerException
- Throws the exception.public void warning(TransformerException exception) throws TransformerException
warning
in interface ErrorListener
exception
- The exception containing the warning.
TransformerException
- Throws the exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |