#include <XmlRpc.h>
Inheritance diagram for XmlRpc::XmlRpcErrorHandler:
Public Member Functions | |
virtual void | error (const char *msg)=0 |
Report an error. Custom error handlers should define this method. | |
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 |
Definition at line 39 of file XmlRpc.h.
virtual void XmlRpc::XmlRpcErrorHandler::error | ( | const char * | msg | ) | [pure virtual] |
Report an error. Custom error handlers should define this method.
Implemented in DefaultErrorHandler.
Referenced by XmlRpc::XmlRpcUtil::error().
static XmlRpcErrorHandler* XmlRpc::XmlRpcErrorHandler::getErrorHandler | ( | ) | [inline, static] |
Returns a pointer to the currently installed error handling object.
Definition at line 42 of file XmlRpc.h.
References _errorHandler.
Referenced by XmlRpc::XmlRpcUtil::error().
00043 { return _errorHandler; }
static void XmlRpc::XmlRpcErrorHandler::setErrorHandler | ( | XmlRpcErrorHandler * | eh | ) | [inline, static] |
Specifies the error handler.
Definition at line 46 of file XmlRpc.h.
References _errorHandler.
00047 { _errorHandler = eh; }
XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler [static, protected] |