00001
00002
00003
00004
00005
00016 #ifndef _SIGNEXCEPTION_H_
00017 #define _SIGNEXCEPTION_H_
00018
00019 #include <string>
00020 #include <exception>
00021
00022 #include <SignDLL.h>
00023
00024 #undef GetMessage
00025
00026 class SIGN_EXPORT SignException : public std::exception
00027 {
00028 public:
00030 SignException(std::string mod,std::string func,std::string msg);
00032 ~SignException() throw();
00033
00035 virtual const char* what() const throw();
00037 std::string GetMessage();
00039 std::string GetModule();
00041 std::string GetFunction();
00042
00043 private:
00044 std::string message;
00045 std::string module;
00046 std::string function;
00047 };
00048
00049 #endif