XmlRpc::XmlRpcErrorHandler Class Reference

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcErrorHandler:

DefaultErrorHandler

List of all members.


Detailed Description

An interface allowing custom handling of error message reporting.

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

Constructor & Destructor Documentation

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

00044 {}


Member Function Documentation

static XmlRpcErrorHandler* XmlRpc::XmlRpcErrorHandler::getErrorHandler (  )  [inline, static]

Returns a pointer to the currently installed error handling object.

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

00048     { return _errorHandler; }

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

Specifies the error handler.

00052     { _errorHandler = eh; }

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


Member Data Documentation

Referenced by getErrorHandler(), and setErrorHandler().


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

Generated on Fri Sep 19 13:05:08 2008 for ITM OverSim by  doxygen 1.5.5