Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ExceptionBase.h

Go to the documentation of this file.
00001 #ifndef __EXCEPTIONBASE_H
00002 #define __EXCEPTIONBASE_H
00003 
00004 #include <string>
00005     
00006 using std::string;
00007                        
00014 class ExceptionBase
00015 {
00016 public:
00020     ExceptionBase() : what() {}
00021 
00027     ExceptionBase(const char* mess) : what(mess) {}
00028 
00032     ~ExceptionBase() {}
00033 
00039     string &getMessage() { return what; }
00040 
00041 private:
00042     string what;
00043 };
00044                           
00045 #endif //__EXCEPTIONBASE_H

Generated on Thu Jan 27 10:06:44 2005 for ShmAllocator by doxygen 1.3.6