Public Member Functions | Static Public Member Functions | Static Protected Attributes

DefaultErrorHandler Class Reference

Inheritance diagram for DefaultErrorHandler:
XmlRpc::XmlRpcErrorHandler

Public Member Functions

void error (const char *msg)
 Report an error. Custom error handlers should define this method.

Static Public Member Functions

static XmlRpcErrorHandler * getErrorHandler ()
 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

Member Function Documentation

void DefaultErrorHandler::error ( const char *  msg  )  [inline, virtual]

Report an error. Custom error handlers should define this method.

Implements XmlRpc::XmlRpcErrorHandler.

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

Returns a pointer to the currently installed error handling object.

References XmlRpc::XmlRpcErrorHandler::_errorHandler, and XmlRpc::XmlRpcErrorHandler::setErrorHandler().

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

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

Specifies the error handler.

Referenced by XmlRpc::XmlRpcErrorHandler::getErrorHandler().


Field Documentation

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

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines