#include <exception.hh>
Inheritance diagram for mpcl::TException:

Public Methods | |
| TException (void) | |
| TException (const string &rkySYNOPSYS, const string &rkyRATIONALE=string(), const string &rkyFILE_NAME=string(), const int kiLINE_NUMBER=0) | |
| TException (const TException &rktSOURCE_EXCEPTION) | |
| const string & | generalDescription (void) const throw () |
| const string & | specificDescription (void) const throw () |
| const string & | fileName (void) const throw () |
| int | lineNumber (void) const throw () |
| virtual const string | what (void) const |
Protected Methods | |
| void | write (basic_ostream< char_type, traits_type > &rtOUTPUT_OSTREAM) const |
Protected Attributes | |
| string | ySynopsis |
| General description of the exception. | |
| string | yRationale |
| Specific description of the exception. | |
| string | yFileName |
| File name where the exception has its meaning. | |
| int | iLineNumber |
| Line-number in the former file name. | |
Definition at line 50 of file exception.hh.
|
|
Builds the instance without any kind of descriptions of the exception. Definition at line 78 of file exception.hh. References iLineNumber, yFileName, yRationale, and ySynopsis. |
|
||||||||||||||||||||
|
Builds the instance with a general description and (if passed) a specific description.
Definition at line 93 of file exception.hh. References iLineNumber, yFileName, yRationale, and ySynopsis. |
|
|
Builds the instance as a copy of the instance rktSOURCE_EXCEPTION.
Definition at line 108 of file exception.hh. References iLineNumber, yFileName, yRationale, and ySynopsis. |
|
|
Gets the file name where the exception was thrown.
Definition at line 144 of file exception.hh. References yFileName. |
|
|
Gets a general description of the exception.
Definition at line 126 of file exception.hh. References ySynopsis. |
|
|
Gets a line number of the exception.
Definition at line 153 of file exception.hh. References iLineNumber. |
|
|
Gets a specific description of the exception.
Definition at line 135 of file exception.hh. References yRationale. |
|
|
Gets a description of the exception.
Definition at line 34 of file exception.cc. References iLineNumber, yFileName, yRationale, and ySynopsis. Referenced by write(). |
|
|
Put onto stream rtTARGET_OSTREAM a formatted string with information about this exception. Implements mpcl::io::IOutputStreamable< TChar, TTraits >. Definition at line 175 of file exception.hh. References what(). |
1.2.18