Public Member Functions | Private Attributes | List of all members
XmlRpc::XmlRpcException Class Reference

#include <XmlRpcException.h>

Public Member Functions

int getCode () const
 Return the error code. More...
 
const std::string & getMessage () const
 Return the error message. More...
 
 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

◆ XmlRpcException()

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

Constructor

Parameters
messageA descriptive error message
codeAn integer error code

Definition at line 28 of file XmlRpcException.h.

Member Function Documentation

◆ getCode()

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

Return the error code.

Definition at line 35 of file XmlRpcException.h.

◆ getMessage()

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

Return the error message.

Definition at line 32 of file XmlRpcException.h.

Member Data Documentation

◆ _code

int XmlRpc::XmlRpcException::_code
private

Definition at line 39 of file XmlRpcException.h.

◆ _message

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:


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32