Public Member Functions | Protected Member Functions | Protected Attributes

Exception Struct Reference

#include <xmlrpc.h>

Inheritance diagram for Exception:
Inheritance graph
[legend]
Collaboration diagram for 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 75 of file xmlrpc.h.


Constructor & Destructor Documentation

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

Definition at line 77 of file xmlrpc.h.

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

Definition at line 83 of file xmlrpc.h.

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

Definition at line 96 of file xmlrpc.h.

     :  _code(code)
    {
    }

Member Function Documentation

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

Definition at line 87 of file xmlrpc.h.

    {
        return _msg.c_str();
    }

Member Data Documentation

int Exception::_code [protected]

Definition at line 94 of file xmlrpc.h.

string Exception::_msg [protected]

Definition at line 93 of file xmlrpc.h.


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