|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrXmlErrorHandler
This interface is used during the XML error
processing (parsing and binding) to determine
whether an error is filtered or not. Error
and warning events are sent to this handler
by the means of processWarning
or processError
calls.
To activate the XML binding processing, this interface must be implemented by users and declared to an XML driver during its initialization.
Errors and warnings notified may be declared
and memorized by calling the IlrXmlErrorManger
methods. If those methods are not called, the notified error
or the warning is forgotten.
IlrXmlErrorManager
,
IlrXmlFatalErrorException
,
IlrXmlError
Method Summary | |
---|---|
boolean |
areSame(IlrXmlError error1,
IlrXmlError error2)
This method indicates if two errors are considered by the handler at the same time. |
boolean |
isNotifiedBefore(IlrXmlError error1,
IlrXmlError error2)
This method indicates if an error must be showed before before another one. |
void |
processError(IlrXmlError error)
This method is called by the XML binding to notify an error to the handler. |
void |
processWarning(IlrXmlError error)
This method is called by the XML binding to notify a warning to the handler. |
void |
setErrorManager(IlrXmlErrorManager manager)
This method is called by the XML processing to notify the error manager currently used. |
Method Detail |
---|
void processWarning(IlrXmlError error) throws IlrXmlFatalErrorException
IlrXmlFatalErrorException
- may be raised to stop the
processing at once.void processError(IlrXmlError error) throws IlrXmlFatalErrorException
IlrXmlFatalErrorException
- may be raised to stop the
processing at once.boolean isNotifiedBefore(IlrXmlError error1, IlrXmlError error2)
boolean areSame(IlrXmlError error1, IlrXmlError error2)
void setErrorManager(IlrXmlErrorManager manager)
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |