00001
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
00026 namespace hippodraw {
00027
00034 class MDL_HIPPOPLOT_API FactoryException : public std::exception
00035 {
00036 private:
00037
00039 std::string m_type;
00040
00041 public:
00042
00047 FactoryException ( const FactoryException & );
00048
00051 FactoryException ( const std::string & type );
00052
00056 virtual ~FactoryException () throw ();
00057
00059 char const * what () const throw ();
00060
00061 };
00062
00063 }
00064
00065 #endif // _FactoryException_H_