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

XmlRpc::XmlRpcException Class Reference

#include <XmlRpcException.h>

List of all members.

Public Member Functions

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

Private Attributes

int _code
std::string _message


Detailed Description

A class representing an error. If server methods throw this exception, a fault response is returned to the client.


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

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

Return the error code.

00033 { return _code; }

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

Return the error message.

00030 { return _message; }


Member Data Documentation

int XmlRpc::XmlRpcException::_code [private]
 

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


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