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