public class XMLErrorListener extends Object implements ErrorListener
Constructor and Description |
---|
XMLErrorListener() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2010–2018 Planetary Data System. All rights reserved.