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>
Public Member Functions | |
virtual void | error (ZorbaException const &exception) |
This function is called for all exceptions. | |
virtual void | warning (XQueryWarning const &warning) |
This function is called for all warnings. | |
virtual | ~DiagnosticHandler () |
When registered with an XQuery object, a DiagnosticHandler handles all exceptions and warnings that otherwise would have been thrown or reported.
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.
exception | The exception. |
virtual void zorba::DiagnosticHandler::warning | ( | XQueryWarning const & | warning | ) | [virtual] |
This function is called for all warnings.
warning | The warning. |