$search

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.

Definition at line 23 of file XmlRpcException.h.


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

Definition at line 28 of file XmlRpcException.h.


Member Function Documentation

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

Return the error code.

Definition at line 35 of file XmlRpcException.h.

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

Return the error message.

Definition at line 32 of file XmlRpcException.h.


Member Data Documentation

Definition at line 39 of file XmlRpcException.h.

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

Definition at line 38 of file XmlRpcException.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


xmlrpcpp
Author(s): Chris Morley and Konstantin Pilipchuk, slight modifications and ROS wrapping by Morgan Quigley
autogenerated on Sat Mar 2 13:22:54 2013