00001 //-------------------------------------------------- 00011 //--------------------------------------------------- 00012 00013 #ifndef METADATA_NOT_FOUND_EXCEPTION_H_ 00014 #define METADATA_NOT_FOUND_EXCEPTION_H_ 00015 00016 #include "exception.h" 00017 00018 namespace imedgine 00019 { 00020 //-------------------------------------------------- 00031 //--------------------------------------------------- 00032 00033 class MetadataNotFoundException : public Exception 00034 { 00035 public: 00036 //-------------------------------------------------- 00040 00041 MetadataNotFoundException(std::string name); 00042 00043 //-------------------------------------------------- 00046 00047 MetadataNotFoundException(MetadataNotFoundException const& src); 00048 00049 //-------------------------------------------------- 00052 00053 virtual ~MetadataNotFoundException() throw(); 00054 00055 //-------------------------------------------------- 00060 00061 virtual char const* what() const throw(); 00062 00063 //-------------------------------------------------- 00068 00069 std::string getName() const; 00070 00071 private: 00072 00073 MetadataNotFoundException & operator = (MetadataNotFoundException const&) 00074 { return(*this); } 00075 00076 }; 00077 } 00078 00079 #endif