00001 #ifndef PLUGINEXCEPTION_H 00002 #define PLUGINEXCEPTION_H 00003 00004 #include <exception> 00005 #include <iostream> 00006 #include <QString> 00007 00008 class PluginException 00009 { 00010 public: 00011 PluginException(); 00012 virtual QString what() const throw(); 00013 virtual void setWhat(QString what) throw(); 00014 private: 00015 QString _exception; 00016 }; 00017 00018 #endif // PLUGINEXCEPTION_H