00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _FactoryException_H_ 00015 #define _FactoryException_H_ 00016 00017 #include "libhippo.h" 00018 00019 #include <exception> 00020 #include <string> 00021 00022 #ifdef _MSC_VER 00023 #include "msdevstudio/MSconfig.h" 00024 #endif 00025 00032 class MDL_HIPPOPLOT_API FactoryException : public std::exception 00033 { 00034 private: 00035 00037 std::string m_type; 00038 00039 public: 00040 00045 FactoryException ( const FactoryException & ); 00046 00049 FactoryException ( const std::string & type ); 00050 00054 virtual ~FactoryException () throw (); 00055 00057 char const * what () const throw (); 00058 00059 }; 00060 00061 #endif // _FactoryException_H_