![]() |
![]() |
00001 #ifndef PFTOOLSEXCEPTION_H_ 00002 #define PFTOOLSEXCEPTION_H_ 00003 00004 #include <exception> 00005 #include <string> 00006 namespace pftools { 00014 class PFToolsException : public std::exception { 00015 public: 00016 PFToolsException(const std::string& aErrorDescription=""); 00017 00018 virtual ~PFToolsException() throw(); 00019 00020 virtual const char* what() const throw(); 00021 00022 protected: 00023 std::string myDescription; 00024 }; 00025 } 00026 00027 #endif /*PFTOOLSEXCEPTION_HH_*/