|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.xml.OntopiaErrorHandler
public class OntopiaErrorHandler
OntopiaErrorHandler implements the SAX
ErrorHandler interface and defines callback
behavior for the SAX callbacks associated with an XML
document's errors.
| Constructor Summary | |
|---|---|
OntopiaErrorHandler()
|
|
| Method Summary | |
|---|---|
void |
error(org.xml.sax.SAXParseException exception)
This will report an error that has occurred; this indicates that a rule was broken, typically in validation, but that parsing can reasonably continue. |
void |
fatalError(org.xml.sax.SAXParseException exception)
This will report a fatal error that has occurred; this indicates that a rule has been broken that makes continued parsing either impossible or an almost certain waste of time. |
void |
warning(org.xml.sax.SAXParseException exception)
This will report a warning that 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 OntopiaErrorHandler()
| Method Detail |
|---|
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlerexception - SAXParseException that occurred.
SAXException - when things go wrong
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlerexception - SAXParseException that occurred.
SAXException - when things go wrong
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlerexception - SAXParseException that occurred.
SAXException - when things go wrong
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||