An interface allowing custom handling of error message reporting. More...
#include <XmlRpc.h>
Public Member Functions | |
virtual void | error (const char *msg)=0 |
Report an error. Custom error handlers should define this method. | |
virtual | ~XmlRpcErrorHandler () |
Static Public Member Functions | |
static XmlRpcErrorHandler * | getErrorHandler () |
Returns a pointer to the currently installed error handling object. | |
static void | setErrorHandler (XmlRpcErrorHandler *eh) |
Specifies the error handler. | |
Static Protected Attributes | |
static XmlRpcErrorHandler * | _errorHandler = &defaultErrorHandler |
An interface allowing custom handling of error message reporting.
virtual XmlRpc::XmlRpcErrorHandler::~XmlRpcErrorHandler | ( | ) | [inline, virtual] |
virtual void XmlRpc::XmlRpcErrorHandler::error | ( | const char * | msg | ) | [pure virtual] |
Report an error. Custom error handlers should define this method.
Implemented in DefaultErrorHandler.
static XmlRpcErrorHandler* XmlRpc::XmlRpcErrorHandler::getErrorHandler | ( | ) | [inline, static] |
static void XmlRpc::XmlRpcErrorHandler::setErrorHandler | ( | XmlRpcErrorHandler * | eh | ) | [inline, static] |
XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler [static, protected] |