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();
00032 };
00033
00034 }; //namespace annie
00035 #endif // define _EXCEPTION_H
00036
1.2.14 written by Dimitri van Heesch,
© 1997-2002