|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Error handlers for parsers. Error handlers handle different conditions that may occur when parsing ontologies. Different error handlers allow strict or lax handling of errors. For example, an OWL Lite processor may choose to throw an error as soon as some OWL Full construct is encountered. Alternatively, a species validator may wish to allow errors to pass in order to be able to process the entire ontology and provide more information to the user.
| Method Summary | |
void |
error(String message)
A parsing error has occurred. |
void |
owlFullConstruct(int code,
String message)
An OWL Full construct has been encountered. |
void |
owlFullConstruct(int code,
String message,
Object obj)
An OWL Full construct has been encountered. |
void |
warning(String message)
Some undesirable situation has occurred that merits a warning. |
| Method Detail |
public void owlFullConstruct(int code,
String message)
throws SAXException
code - an error code, which should ideally be a constant from OWLRDFErrorConstants.message - a String value
SAXException - if an error occurs
public void owlFullConstruct(int code,
String message,
Object obj)
throws SAXException
code - an error code, which should ideally be a constant from OWLRDFErrorConstants.message - a String valueobj - an object that may relate to the error.
SAXException - if an error occurs
public void error(String message)
throws SAXException
message - a String value
SAXException - if an error occurs
public void warning(String message)
throws SAXException
message - a String value
SAXException - if an error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||