|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cdmckay.coffeedom.input.BuilderErrorHandler
public class BuilderErrorHandler
The standard CoffeeDOM error handler implementation.
Constructor Summary | |
---|---|
BuilderErrorHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuilderErrorHandler()
Method Detail |
---|
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 wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |