public class BuilderErrorHandler extends Object implements ErrorHandler
Constructor and Description |
---|
BuilderErrorHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
exception
- SAXParseException
that occurred.SAXException
- when things go wrongpublic void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
exception
- SAXParseException
that occurred.SAXException
- when things go wrongpublic void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
exception
- SAXParseException
that occurred.SAXException
- when things go wrongCopyright ? 2016 Jason Hunter, Brett McLaughlin. All Rights Reserved.