|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLErrorHandler
Interface for XMLDBC storage error handlers.
If an XMLDBC application needs to implement customized error
handling, it must implement this interface and then register an
instance with the XMLDocumentFiler using the
setErrorHandler
method. The document filer will then report all errors and warnings
through this interface.
Fatal errors, i.e., errors making storage impossible are not reported through this interface but carry out exceptions.
XMLDocumentFiler.setErrorHandler(org.xquark.xml.xdbc.XMLErrorHandler)
,
XMLDBCException
Method Summary | |
---|---|
void |
error(XMLDBCException exception)
Receive notification of an error that did not prevent the document storage. |
void |
warning(XMLDBCException exception)
Receive notification of a warning. |
Method Detail |
---|
void warning(XMLDBCException exception) throws XMLDBCException
exception
- The warning information encapsulated in an XMLDBC exception.
XMLDBCException
- Any XMLDBC exception, possibly
wrapping another exception.XMLDBCException
void error(XMLDBCException exception) throws XMLDBCException
exception
- The error information encapsulated in an XMLDBC exception.
XMLDBCException
- Any XMLDBC exception, possibly
wrapping another exception.XMLDBCException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |