Inheritance diagram for DefaultErrorHandler:
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 |
Definition at line 48 of file XmlRpcUtil.cpp.
void DefaultErrorHandler::error | ( | const char * | msg | ) | [inline, virtual] |
Report an error. Custom error handlers should define this method.
Implements XmlRpc::XmlRpcErrorHandler.
Definition at line 51 of file XmlRpcUtil.cpp.
00051 { 00052 #ifdef USE_WINDOWS_DEBUG 00053 OutputDebugString(msg); OutputDebugString("\n"); 00054 #else 00055 std::cerr << msg << std::endl; 00056 #endif 00057 }
static XmlRpcErrorHandler* XmlRpc::XmlRpcErrorHandler::getErrorHandler | ( | ) | [inline, static, inherited] |
Returns a pointer to the currently installed error handling object.
Definition at line 42 of file XmlRpc.h.
References XmlRpc::XmlRpcErrorHandler::_errorHandler.
Referenced by XmlRpc::XmlRpcUtil::error().
00043 { return _errorHandler; }
static void XmlRpc::XmlRpcErrorHandler::setErrorHandler | ( | XmlRpcErrorHandler * | eh | ) | [inline, static, inherited] |
Specifies the error handler.
Definition at line 46 of file XmlRpc.h.
References XmlRpc::XmlRpcErrorHandler::_errorHandler.
00047 { _errorHandler = eh; }
XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler [static, protected, inherited] |
Definition at line 53 of file XmlRpc.h.
Referenced by XmlRpc::XmlRpcErrorHandler::getErrorHandler(), and XmlRpc::XmlRpcErrorHandler::setErrorHandler().