#include <PsException.h>
Inheritance diagram for PsException:


Public Methods | |
| PsException (const PsString &mess) | |
| constructor with a message | |
| PsException (const PsException &orig) | |
| copy constructor | |
| virtual | ~PsException () |
| destructor | |
| virtual ostream & | insertInStream (ostream &out) const |
| the member function to redefine to print more inforamtion on that the exception message | |
| PsException & | operator<< (const char *f) |
| add information to the message associated to that exception | |
| PsException & | operator<< (const PsFlowable &f) |
| add information to the message associated to that exception | |
Protected Attributes | |
| PsString | messageException |
| the message associated | |
Friends | |
| ostream & | operator<< (ostream &stream, const PsException &Source) |
| print the message assocaited to the exception | |
Definition at line 27 of file PsException.h.
|
|
constructor with a message
Definition at line 23 of file PsException.cxx. References messageException.
00024 {
00025 messageException = mess ;
00026 #ifdef _DEBUGEXEC
00027 cerr<<"PsException::PsException: creating an exception: "<<mess<<endl;
00028 #endif
00029
00030 }
|
|
|
copy constructor
Definition at line 36 of file PsException.cxx. References messageException.
00037 {
00038
00039 messageException = orig.messageException ;
00040
00041 }
|
|
|
destructor
Definition at line 32 of file PsException.cxx.
00032 {
00033
00034 }
|
|
|
the member function to redefine to print more inforamtion on that the exception message
Reimplemented in PsUnInitialisedAttributeException. Definition at line 59 of file PsException.cxx. References messageException. Referenced by PsUnInitialisedAttributeException::insertInStream(), and operator<<().
00059 {
00060 out<<messageException;
00061 return out ;
00062 }
|
|
|
add information to the message associated to that exception
Definition at line 51 of file PsException.cxx. References messageException.
00052 {
00053
00054 messageException<<f;
00055
00056 return *this ;
00057 }
|
|
|
add information to the message associated to that exception
Definition at line 43 of file PsException.cxx. References messageException.
00044 {
00045
00046 messageException<<f;
00047
00048 return *this ;
00049 }
|
|
||||||||||||
|
print the message assocaited to the exception
Definition at line 64 of file PsException.cxx.
00064 {
00065
00066 return Source.insertInStream(stream) ;
00067
00068 }
|
|
|
the message associated
Definition at line 55 of file PsException.h. Referenced by insertInStream(), operator<<(), and PsException(). |
| Documentation generated on Mon Nov 25 15:26:00 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |