00001 #ifndef EXC_EXCEPTION_H 00002 #define EXC_EXCEPTION_H 00003 00004 #include <string> 00005 00006 namespace afl 00007 { 00008 namespace exc 00009 { 00010 00015 class Exception 00016 { 00017 00019 public: 00025 Exception( const std::string& message ); 00026 00030 const std::string& getMessage( ) const; 00031 00032 00033 00036 private: 00040 std::string _msg; 00041 00042 }; 00043 } 00044 } 00045 00046 #endif // EXCEPTION_H 00047