00001 //-------------------------------------------------- 00012 //--------------------------------------------------- 00013 00014 #include "metadata_not_found_exception.h" 00015 00016 namespace imedgine 00017 { 00018 MetadataNotFoundException::MetadataNotFoundException(std::string name) 00019 : Exception(METADATA_NOT_FOUND_EXCEPTION, name) 00020 { 00021 } 00022 00023 MetadataNotFoundException::MetadataNotFoundException(MetadataNotFoundException const& src) 00024 : Exception(src) 00025 { 00026 } 00027 00028 00029 MetadataNotFoundException::~MetadataNotFoundException() throw() 00030 { 00031 } 00032 00033 char const* MetadataNotFoundException::what() const throw() 00034 { 00035 return("metadata not found exception"); 00036 } 00037 00038 std::string MetadataNotFoundException::getName() const 00039 { 00040 return detail_; 00041 } 00042 }