public interface IlrXmlErrorHandler
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.
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
© Copyright IBM Corp. 1987, 2017