CException Class Reference
#include <exception.h>
Inheritance diagram for CException:
Collaboration diagram for CException:
Public Member Functions | |
CException (const CString message) | |
CException (const CString message, CException &e) | |
CException (const CException &e) | |
virtual | ~CException () |
const CString | getMessage () const |
const CString | getCause () const |
ostream & | report (ostream &stream) const |
Private Attributes | |
CString | message |
CString | cause |
Friends | |
ostream & | operator<< (ostream &stream, const CException &e) |
Constructor & Destructor Documentation
CException::CException | ( | const CString | message | ) | [inline] |
CException::CException | ( | const CString | message, | |
CException & | e | |||
) | [inline] |
CException::CException | ( | const CException & | e | ) | [inline] |
virtual CException::~CException | ( | ) | [inline, virtual] |
Member Function Documentation
const CString CException::getCause | ( | ) | const [inline] |
References cause.
Referenced by CException(), and report().
const CString CException::getMessage | ( | ) | const [inline] |
References message.
Referenced by CException(), report(), and Tester::runTest().
ostream& CException::report | ( | ostream & | stream | ) | const [inline] |
References getCause(), and getMessage().
Referenced by operator<<().
Here is the call graph for this function:
Friends And Related Function Documentation
ostream& operator<< | ( | ostream & | stream, | |
const CException & | e | |||
) | [friend] |
Member Data Documentation
CString CException::cause [private] |
Referenced by CException(), and getCause().
CString CException::message [private] |
Referenced by getMessage().
The documentation for this class was generated from the following file: