XmlRpc::XmlRpcErrorHandler Class Reference

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

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcErrorHandler:
DefaultErrorHandler

List of all members.

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 46 of file XmlRpc.h.


Constructor & Destructor Documentation

virtual XmlRpc::XmlRpcErrorHandler::~XmlRpcErrorHandler (  )  [inline, virtual]

Definition at line 44 of file XmlRpc.h.

Referenced by getErrorHandler().

00047 {


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 (  )  [inline, static]

Returns a pointer to the currently installed error handling object.

Definition at line 47 of file XmlRpc.h.

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

00047                            {
00048   public:

static void XmlRpc::XmlRpcErrorHandler::setErrorHandler ( XmlRpcErrorHandler eh  )  [inline, static]

Specifies the error handler.

Definition at line 51 of file XmlRpc.h.

Referenced by getErrorHandler().

00053     { return _errorHandler; }


Member Data Documentation

Definition at line 58 of file XmlRpc.h.

Referenced by getErrorHandler().


The documentation for this class was generated from the following files:
Generated on Wed May 26 16:21:20 2010 for OverSim by  doxygen 1.6.3