Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Exception.h

Go to the documentation of this file.
00001 #ifndef _EXCEPTION_H
00002 #define _EXCEPTION_H
00003 
00004 #include <iostream>
00005 #include <string>
00006 
00007 namespace annie
00008 {
00009 
00017 class Exception
00018 {
00019 protected:
00020     std::string details;
00021 public:
00023 
00024     Exception(const char *info);
00025 
00027 
00028     Exception(std::string info);
00029 
00031     std::string what() const { return details; }
00032 protected:
00033     void *operator new(uint size);  //not defined
00034 };
00035 
00036 }; //namespace annie
00037 #endif // define _EXCEPTION_H
00038 

Generated on Fri Jun 18 13:18:10 2004 for Annie by doxygen 1.3.5