cmsg::cMsgException Class Reference

#include <cMsg.hxx>

List of all members.


Detailed Description

Exception includes description and return code.

Definition at line 44 of file cMsg.hxx.

Public Member Functions

 cMsgException (void)
 Empty constructor.
 cMsgException (const string &descr)
 String constructor.
 cMsgException (const string &descr, int code)
 String and code constructor.
 cMsgException (const cMsgException &e)
 Copy constructor.
virtual ~cMsgException (void) throw ()
 Destructor does nothing.
virtual string toString (void) const throw ()
 Gets string represention of exception.
virtual const char * what (void) const throw ()
 Gets char* represention of exception.

Public Attributes

string descr
 Description.
int returnCode
 Return code.


Constructor & Destructor Documentation

cMsgException::cMsgException void   ) 
 

Empty constructor.

Definition at line 199 of file cMsgWrapper.cc.

cMsgException::cMsgException const string &  c  ) 
 

String constructor.

Parameters:
c Description

Definition at line 210 of file cMsgWrapper.cc.

cMsgException::cMsgException const string &  c,
int  code
 

String and code constructor.

Parameters:
c Description
code Return code

Definition at line 222 of file cMsgWrapper.cc.

cMsgException::cMsgException const cMsgException e  ) 
 

Copy constructor.

Parameters:
e Another exception

Definition at line 233 of file cMsgWrapper.cc.

cMsgException::~cMsgException void   )  throw () [virtual]
 

Destructor does nothing.

Definition at line 242 of file cMsgWrapper.cc.


Member Function Documentation

string cMsgException::toString void   )  const throw () [virtual]
 

Gets string represention of exception.

Returns:
String representing exception

Definition at line 254 of file cMsgWrapper.cc.

References descr, and returnCode.

Referenced by what().

const char * cMsgException::what void   )  const throw () [virtual]
 

Gets char* represention of exception.

Returns:
char* representing exception

Definition at line 269 of file cMsgWrapper.cc.

References toString().

Here is the call graph for this function:


Member Data Documentation

string cmsg::cMsgException::descr
 

Description.

Definition at line 58 of file cMsg.hxx.

Referenced by toString().

int cmsg::cMsgException::returnCode
 

Return code.

Definition at line 59 of file cMsg.hxx.

Referenced by toString().


The documentation for this class was generated from the following files:
Generated on Wed Feb 6 13:37:50 2008 for cMsg Messaging System by  doxygen 1.3.9.1