XmlRpc::XmlRpcException Class Reference

#include <XmlRpcException.h>

List of all members.


Detailed Description

A class representing an error.

If server methods throw this exception, a fault response is returned to the client.

Public Member Functions

 XmlRpcException (const std::string &message, int code=-1)
 Constructor.
const std::string & getMessage () const
 Return the error message.
int getCode () const
 Return the error code.

Private Attributes

std::string _message
int _code


Constructor & Destructor Documentation

XmlRpc::XmlRpcException::XmlRpcException ( const std::string &  message,
int  code = -1 
) [inline]

Constructor.

Parameters:
message A descriptive error message
code An integer error code
00026                                                            :
00027         _message(message), _code(code) {}


Member Function Documentation

const std::string& XmlRpc::XmlRpcException::getMessage (  )  const [inline]

Return the error message.

00030 { return _message; }

int XmlRpc::XmlRpcException::getCode (  )  const [inline]

Return the error code.

00033 { return _code; }


Member Data Documentation

std::string XmlRpc::XmlRpcException::_message [private]

int XmlRpc::XmlRpcException::_code [private]


The documentation for this class was generated from the following file:
Generated on Thu Apr 17 13:19:31 2008 for ITM OverSim by  doxygen 1.5.3