OverSim
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.
- Public Member Functions inherited from XmlRpc::XmlRpcErrorHandler
virtual ~XmlRpcErrorHandler ()

Additional Inherited Members

- Static Public Member Functions inherited from XmlRpc::XmlRpcErrorHandler
static XmlRpcErrorHandlergetErrorHandler ()
 Returns a pointer to the currently installed error handling object.
static void setErrorHandler (XmlRpcErrorHandler *eh)
 Specifies the error handler.
- Static Protected Attributes inherited from XmlRpc::XmlRpcErrorHandler
static XmlRpcErrorHandler_errorHandler = &defaultErrorHandler

Detailed Description

Definition at line 53 of file XmlRpcUtil.cc.

Member Function Documentation

void DefaultErrorHandler::error ( const char *  msg)
inlinevirtual

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

Implements XmlRpc::XmlRpcErrorHandler.

Definition at line 56 of file XmlRpcUtil.cc.

{
#ifdef USE_WINDOWS_DEBUG
OutputDebugString(msg); OutputDebugString("\n");
#else
std::cerr << msg << std::endl;
#endif
}

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