When registered with an XQuery object, a DiagnosticHandler handles all exceptions and warnings that otherwise would have been thrown or reported.
More...
#include <zorba/diagnostic_handler.h>
When registered with an XQuery object, a DiagnosticHandler handles all exceptions and warnings that otherwise would have been thrown or reported.
- Examples:
- errors.cpp.
Definition at line 30 of file diagnostic_handler.h.
virtual zorba::DiagnosticHandler::~DiagnosticHandler |
( |
| ) |
|
|
virtual |
virtual void zorba::DiagnosticHandler::error |
( |
ZorbaException const & |
exception | ) |
|
|
virtual |
This function is called for all exceptions.
- Parameters
-
virtual void zorba::DiagnosticHandler::warning |
( |
XQueryWarning const & |
warning | ) |
|
|
virtual |
This function is called for all warnings.
- Parameters
-
The documentation for this class was generated from the following file: