cmsg::cMsgException Class Reference

#include <cMsg.hxx>

List of all members.


Detailed Description

Exception includes description and return code.

Definition at line 53 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 225 of file cMsgWrapper.cc.

cMsgException::cMsgException const string &  c  ) 
 

String constructor.

Parameters:
c Description

Definition at line 236 of file cMsgWrapper.cc.

cMsgException::cMsgException const string &  c,
int  code
 

String and code constructor.

Parameters:
c Description
code Return code

Definition at line 248 of file cMsgWrapper.cc.

cMsgException::cMsgException const cMsgException e  ) 
 

Copy constructor.

Parameters:
e Another exception

Definition at line 259 of file cMsgWrapper.cc.

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

Destructor does nothing.

Definition at line 268 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 280 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 295 of file cMsgWrapper.cc.

References toString().


Member Data Documentation

string cmsg::cMsgException::descr
 

Description.

Definition at line 67 of file cMsg.hxx.

Referenced by toString().

int cmsg::cMsgException::returnCode
 

Return code.

Definition at line 68 of file cMsg.hxx.

Referenced by toString().


The documentation for this class was generated from the following files:
Generated on Fri Oct 21 09:54:18 2011 for cMsg Messaging System by  doxygen 1.3.9.1