OverSim
XmlRpc::XmlRpcErrorHandler Class Reference

An interface allowing custom handling of error message reporting. More...

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcErrorHandler:
DefaultErrorHandler

Public Member Functions

virtual ~XmlRpcErrorHandler ()
virtual void error (const char *msg)=0
 Report an error. Custom error handlers should define this method.

Static Public Member Functions

static XmlRpcErrorHandlergetErrorHandler ()
 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

Detailed Description

An interface allowing custom handling of error message reporting.

Definition at line 47 of file XmlRpc.h.

Constructor & Destructor Documentation

virtual XmlRpc::XmlRpcErrorHandler::~XmlRpcErrorHandler ( )
inlinevirtual

Definition at line 49 of file XmlRpc.h.

{}

Member Function Documentation

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 ( )
inlinestatic

Returns a pointer to the currently installed error handling object.

Definition at line 52 of file XmlRpc.h.

Referenced by XmlRpc::XmlRpcUtil::error().

{ return _errorHandler; }
static void XmlRpc::XmlRpcErrorHandler::setErrorHandler ( XmlRpcErrorHandler eh)
inlinestatic

Specifies the error handler.

Definition at line 56 of file XmlRpc.h.

{ _errorHandler = eh; }

Member Data Documentation

XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler
staticprotected

Definition at line 63 of file XmlRpc.h.

Referenced by getErrorHandler(), and setErrorHandler().


The documentation for this class was generated from the following files: