00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _FitterException_H_ 00015 #define _FitterException_H_ 00016 00017 #include "pattern/libhippo.h" 00018 00019 #include <exception> 00020 #include <string> 00021 00022 #ifdef _MSC_VER 00023 #include "msdevstudio/MSconfig.h" 00024 #endif 00025 00031 class MDL_HIPPOPLOT_API FitterException : public std::exception 00032 { 00033 private: 00034 00036 std::string m_what; 00037 00038 public: 00039 00044 FitterException ( const FitterException & ); 00045 00048 FitterException ( const std::string & type ); 00049 00053 virtual ~FitterException () throw (); 00054 00056 char const * what () const throw (); 00057 00058 }; 00059 00060 #endif // _FitterException_H_