Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DefaultErrorHandler Class Reference

Inheritance diagram for DefaultErrorHandler:

XmlRpc::XmlRpcErrorHandler List of all members.

Public Member Functions

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

Static Public Member Functions

XmlRpcErrorHandler * getErrorHandler ()
 Returns a pointer to the currently installed error handling object.
void setErrorHandler (XmlRpcErrorHandler *eh)
 Specifies the error handler.

Static Protected Attributes

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.

00051                               {
00052 #ifdef USE_WINDOWS_DEBUG
00053     OutputDebugString(msg); OutputDebugString("\n");
00054 #else
00055     std::cerr << msg << std::endl; 
00056 #endif  
00057   }

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

Returns a pointer to the currently installed error handling object.

00043     { return _errorHandler; }

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

Specifies the error handler.

00047     { _errorHandler = eh; }


Member Data Documentation

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


The documentation for this class was generated from the following file:
Generated on Wed Feb 2 15:57:39 2011 for BOSS6.5.5 by  doxygen 1.3.9.1