SignException.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * Program:   Slicer Image-Guided Navigator (The SIGN)
00004  * Module:    $RCSfile: SignException.h,v $
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

Generated on Mon Feb 26 12:11:16 2007 for TheSIGN by  doxygen 1.4.6