00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _PlotterException_H_ 00015 #define _PlotterException_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 PlotterException : public std::exception 00032 { 00033 private: 00034 00036 std::string m_message; 00037 00038 public: 00039 00042 PlotterException ( const std::string & message ); 00043 00049 PlotterException ( const PlotterException & ); 00050 00054 virtual ~PlotterException () throw (); 00055 00059 virtual const char * what () const throw (); 00060 00061 }; 00062 00063 #endif // _PlotterException_H_