> The XQuery Processor
#include <zorba/error_handler.h>

Public Member Functions | |
| virtual void | dynamicError (const DynamicException &aDynamicError)=0 |
| Callback function that is called for dynamic errors as defined in the XQuery 1.0 Specification (see http://www.w3.org/TR/xquery/#id-kinds-of-errors. | |
| virtual void | serializationError (const SerializationException &aSerializationError)=0 |
| Callback function that is called for errors that occur during serialization of a query result. | |
| virtual void | staticError (const StaticException &aStaticError)=0 |
| Callback function that is called for static errors as defined in the XQuery 1.0 Specification (see http://www.w3.org/TR/xquery/#id-kinds-of-errors. | |
| virtual void | systemError (const SystemException &aSystemError)=0 |
| Callback function that is called for errors that occur in the system. | |
| virtual void | typeError (const TypeException &aTypeError)=0 |
| Callback function that is called for type errors as defined in the XQuery 1.0 Specification (see http://www.w3.org/TR/xquery/#id-kinds-of-errors. | |
| virtual | ~ErrorHandler () |
| Destructor. | |
Classes that implement this interface can be used as callback classes.
Specifically, they can be registered with an XQuery object. This way, all errors that would have been reported by throwing an exception are reported by calling the according function of this interface. Subclasses of the ZorbaException class that would have been thrown are passed as parameter to the callback function.
Definition at line 33 of file error_handler.h.
| virtual zorba::ErrorHandler::~ErrorHandler | ( | ) | [inline, virtual] |
| virtual void zorba::ErrorHandler::dynamicError | ( | const DynamicException & | aDynamicError | ) | [pure virtual] |
Callback function that is called for dynamic errors as defined in the XQuery 1.0 Specification (see http://www.w3.org/TR/xquery/#id-kinds-of-errors.
| aDynamicError | information about the error. |
Implemented in zorba::DefaultErrorHandler.
| virtual void zorba::ErrorHandler::serializationError | ( | const SerializationException & | aSerializationError | ) | [pure virtual] |
Callback function that is called for errors that occur during serialization of a query result.
(see http://www.w3.org/TR/2005/CR-xslt-xquery-serialization-20051103/)
| aSerializationError | information about the error. |
Implemented in zorba::DefaultErrorHandler.
| virtual void zorba::ErrorHandler::staticError | ( | const StaticException & | aStaticError | ) | [pure virtual] |
Callback function that is called for static errors as defined in the XQuery 1.0 Specification (see http://www.w3.org/TR/xquery/#id-kinds-of-errors.
| aStaticError | information about the error. |
Implemented in zorba::DefaultErrorHandler.
| virtual void zorba::ErrorHandler::systemError | ( | const SystemException & | aSystemError | ) | [pure virtual] |
Callback function that is called for errors that occur in the system.
| aSystemError | information about the error. |
Implemented in zorba::DefaultErrorHandler.
| virtual void zorba::ErrorHandler::typeError | ( | const TypeException & | aTypeError | ) | [pure virtual] |
Callback function that is called for type errors as defined in the XQuery 1.0 Specification (see http://www.w3.org/TR/xquery/#id-kinds-of-errors.
| aTypeError | information about the error. |
Implemented in zorba::DefaultErrorHandler.