Public Member Functions | Protected Attributes

XMLRPC::XMLRPCFault Struct Reference

#include <xmlrpc.h>

Inheritance diagram for XMLRPC::XMLRPCFault:
Inheritance graph
[legend]
Collaboration diagram for XMLRPC::XMLRPCFault:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XMLRPCFault (int faultCode, const string &faultString)
const char * what () const throw ()

Protected Attributes

string _msg
int _code

Detailed Description

Definition at line 211 of file xmlrpc.h.


Constructor & Destructor Documentation

XMLRPC::XMLRPCFault::XMLRPCFault ( int  faultCode,
const string &  faultString 
) [inline]

Definition at line 213 of file xmlrpc.h.

     :  Exception(faultCode)
    {
        ostringstream buffer;

        buffer << "XMLRPCFault " << _code << ": " << faultString;

        _msg = buffer.str();
    }

Member Function Documentation

const char* XMLRPC::Exception::what (  ) const throw () [inline, inherited]

Definition at line 90 of file xmlrpc.h.

    {
        return _msg.c_str();
    }

Member Data Documentation

int XMLRPC::Exception::_code [protected, inherited]

Definition at line 97 of file xmlrpc.h.

string XMLRPC::Exception::_msg [protected, inherited]

Definition at line 96 of file xmlrpc.h.


The documentation for this struct was generated from the following file: