|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Error handler class to manage errors during the parsing process. This can be used to filter exceptions thrown during the parsing process.
| Method Summary | |
void |
error(Object location,
String message,
Exception e,
GraphMLParseContext context)
Handles an error message that originates from the parser or subordinate classes. |
void |
fatal(Object location,
String message,
Exception e,
GraphMLParseContext context)
Handles an FATAL error message that originates from the parser or subordinate classes. |
void |
warning(Object location,
String message,
Exception e,
GraphMLParseContext context)
Handles an warning message that originates from the parser or subordinate classes. |
| Method Detail |
public void error(Object location,
String message,
Exception e,
GraphMLParseContext context)
throws GraphMLParseException
location - identifier for the location of the errormessage - a descriptive message of the errore - a reference to an exception, if the error has been caused by catching onecontext - the current parse context when the error occured
GraphMLParseException - propagated or new exception that notifies callers of this error
public void fatal(Object location,
String message,
Exception e,
GraphMLParseContext context)
throws GraphMLParseException
location - identifier for the location of the errormessage - a descriptive message of the errore - a reference to an exception, if the error has been caused by catching onecontext - the current parse context when the error occured
GraphMLParseException - propagated or new exception that notifies callers of this error
public void warning(Object location,
String message,
Exception e,
GraphMLParseContext context)
location - identifier for the location of the errormessage - a descriptive message of the errore - a reference to an exception, if the error has been caused by catching onecontext - the current parse context when the error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||