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