|
cMsg Messaging System
5.2
|
Exception includes description and return code. More...
#include <cMsg.hxx>
Public Member Functions | |
| cMsgException (void) | |
| Empty constructor. More... | |
| cMsgException (const string &descr) | |
| String constructor. More... | |
| cMsgException (const string &descr, int code) | |
| String and code constructor. More... | |
| cMsgException (const cMsgException &e) | |
| Copy constructor. More... | |
| virtual | ~cMsgException (void) throw () |
| Destructor does nothing. More... | |
| virtual string | toString (void) const throw () |
| Gets string represention of exception. More... | |
| virtual const char * | what (void) const throw () |
| Gets char* represention of exception. More... | |
Public Attributes | |
| string | descr |
| Description. More... | |
| int | returnCode |
| Return code. More... | |
| cMsgException::cMsgException | ( | void | ) |
Empty constructor.
Definition at line 225 of file cMsgWrapper.cc.
| cMsgException::cMsgException | ( | const string & | c | ) |
| cMsgException::cMsgException | ( | const string & | c, |
| int | code | ||
| ) |
String and code constructor.
| c | Description |
| code | Return code |
Definition at line 248 of file cMsgWrapper.cc.
| cMsgException::cMsgException | ( | const cMsgException & | e | ) |
|
virtual | ||||||||||||||
Destructor does nothing.
Definition at line 268 of file cMsgWrapper.cc.
|
virtual | ||||||||||||||
Gets string represention of exception.
Definition at line 280 of file cMsgWrapper.cc.
References descr, and returnCode.
Referenced by what().
|
virtual | ||||||||||||||
Gets char* represention of exception.
Definition at line 295 of file cMsgWrapper.cc.
References toString().
| string cmsg::cMsgException::descr |
| int cmsg::cMsgException::returnCode |