| java.lang.Object org.jdom.input.BuilderErrorHandler
BuilderErrorHandler | public class BuilderErrorHandler implements ErrorHandler(Code) | | The standard JDOM error handler implementation.
author: Jason Hunter version: $Revision: 1.1 $, $Date: 2005/04/27 09:32:40 $ |
Method Summary | |
public void | error(SAXParseException exception) This method is called in response to an error that has occurred;
this indicates that a rule was broken, typically in validation, but
that parsing could reasonably continue. | public void | fatalError(SAXParseException exception) This method is called in response to a fatal error; this indicates that
a rule has been broken that makes continued parsing either impossible
or an almost certain waste of time. | public void | warning(SAXParseException exception) This method is called when a warning has occurred; this indicates
that while no XML rules were broken, something appears to be
incorrect or missing. |
error | public void error(SAXParseException exception) throws SAXException(Code) | | This method is called in response to an error that has occurred;
this indicates that a rule was broken, typically in validation, but
that parsing could reasonably continue.
The implementation of this method here is to rethrow the exception.
Parameters: exception - SAXParseException that occurred. throws: SAXException - when things go wrong |
fatalError | public void fatalError(SAXParseException exception) throws SAXException(Code) | | This method is called in response to a fatal error; this indicates that
a rule has been broken that makes continued parsing either impossible
or an almost certain waste of time.
The implementation of this method here is to rethrow the exception.
Parameters: exception - SAXParseException that occurred. throws: SAXException - when things go wrong |
warning | public void warning(SAXParseException exception) throws SAXException(Code) | | This method is called when a warning has occurred; this indicates
that while no XML rules were broken, something appears to be
incorrect or missing.
The implementation of this method here is a "no op".
Parameters: exception - SAXParseException that occurred. throws: SAXException - when things go wrong |
|
|