Go to the documentation of this file.00001
00008 #ifndef _UTILITIES_EXCEPTION_H_
00009 #define _UTILITIES_EXCEPTION_H_
00010
00011 #include <string>
00012 #include <exception>
00013
00014 namespace utilities
00015 {
00016 class Exception : public std::exception
00017 {
00018 public:
00019 Exception(std::string message);
00020 Exception(const char* message);
00021 virtual const char* what() const throw();
00022
00023 private:
00024 const char* message_;
00025 };
00026 }
00027
00028 #endif // _UTILITIES_EXCEPTION_H_