An interface allowing custom handling of error message reporting. More...
#include <XmlRpcUtil.h>
Public Member Functions | |
virtual void | error (const char *msg)=0 |
Report an error. Custom error handlers should define this method. More... | |
virtual | ~XmlRpcErrorHandler () |
Static Public Member Functions | |
static XmlRpcErrorHandler * | getErrorHandler () |
Returns a pointer to the currently installed error handling object. More... | |
static void | setErrorHandler (XmlRpcErrorHandler *eh) |
Specifies the error handler. More... | |
Static Protected Attributes | |
static XmlRpcErrorHandler * | _errorHandler = &defaultErrorHandler |
An interface allowing custom handling of error message reporting.
Definition at line 29 of file XmlRpcUtil.h.
|
inlinevirtual |
Definition at line 31 of file XmlRpcUtil.h.
|
pure virtual |
Report an error. Custom error handlers should define this method.
Implemented in XmlRpcConnectTest, FakeErrorHandler, and DefaultErrorHandler.
|
inlinestatic |
Returns a pointer to the currently installed error handling object.
Definition at line 34 of file XmlRpcUtil.h.
|
inlinestatic |
Specifies the error handler.
Definition at line 38 of file XmlRpcUtil.h.
|
staticprotected |
Definition at line 45 of file XmlRpcUtil.h.