00001 #ifndef SIGEL_TOOLS_SIG_EXCEPTION_H 00002 #define SIGEL_TOOLS_SIG_EXCEPTION_H 00003 00004 #include <qstring.h> 00005 00006 namespace SIGEL_Tools 00007 { 00008 00013 class SIG_Exception 00014 { 00015 public: 00025 SIG_Exception(QString fileName, 00026 int line, 00027 QString message); 00028 00048 SIG_Exception(QString fileName, 00049 int line, 00050 QString message, 00051 SIG_Exception const& prevException); 00052 00056 QString getMessage() const; 00057 00058 protected: 00063 QString message; 00064 }; 00065 00066 } 00067 00068 #endif // SIGEL_TOOLS_SIG_EXCEPTION_H