Package gov.nasa.pds.harvest.search.util
Class XMLErrorListener
- java.lang.Object
- 
- gov.nasa.pds.harvest.search.util.XMLErrorListener
 
- 
- All Implemented Interfaces:
- ErrorListener
 
 public class XMLErrorListener extends Object implements ErrorListener Class that handles errors while parsing an XML file.- Author:
- mcayanan
 
- 
- 
Constructor SummaryConstructors Constructor Description XMLErrorListener()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(TransformerException exception)Method is called when an error is encountered.voidfatalError(TransformerException exception)Method is called when a fatal error is encountered.voidwarning(TransformerException exception)Method is called when a warning is encountered.
 
- 
- 
- 
Method Detail- 
errorpublic void error(TransformerException exception) throws TransformerException Method is called when an error is encountered.- Specified by:
- errorin interface- ErrorListener
- Parameters:
- exception- The exception containing the error.
- Throws:
- TransformerException- Throws the exception.
 
 - 
fatalErrorpublic void fatalError(TransformerException exception) throws TransformerException Method is called when a fatal error is encountered.- Specified by:
- fatalErrorin interface- ErrorListener
- Parameters:
- exception- The exception containing the fatal error.
- Throws:
- TransformerException- Throws the exception.
 
 - 
warningpublic void warning(TransformerException exception) throws TransformerException Method is called when a warning is encountered.- Specified by:
- warningin interface- ErrorListener
- Parameters:
- exception- The exception containing the warning.
- Throws:
- TransformerException- Throws the exception.
 
 
- 
 
-