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 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 39 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 (  )  [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; }


Member Data Documentation

XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler [static, protected]

Definition at line 53 of file XmlRpc.h.

Referenced by getErrorHandler(), and setErrorHandler().


Generated on Tue Nov 29 23:36:39 2016 for BOSS_7.0.2 by  doxygen 1.4.7