Public Member Functions | Protected Member Functions | Protected Attributes

XMLRPC::Exception Struct Reference

#include <xmlrpc.h>

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

List of all members.

Public Member Functions

 Exception (const char *msg, int code=0)
 ~Exception () throw ()
const char * what () const throw ()

Protected Member Functions

 Exception (int code=0)

Protected Attributes

string _msg
int _code

Detailed Description

Definition at line 78 of file xmlrpc.h.


Constructor & Destructor Documentation

XMLRPC::Exception::Exception ( const char *  msg,
int  code = 0 
) [inline]

Definition at line 80 of file xmlrpc.h.

     :  _msg(msg),
        _code(code)
    {
    }
XMLRPC::Exception::~Exception (  ) throw () [inline]

Definition at line 86 of file xmlrpc.h.

    {
    }
XMLRPC::Exception::Exception ( int  code = 0 ) [inline, protected]

Definition at line 99 of file xmlrpc.h.

     :  _code(code)
    {
    }

Member Function Documentation

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

Definition at line 90 of file xmlrpc.h.

    {
        return _msg.c_str();
    }

Member Data Documentation

int XMLRPC::Exception::_code [protected]

Definition at line 97 of file xmlrpc.h.

string XMLRPC::Exception::_msg [protected]

Definition at line 96 of file xmlrpc.h.


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