X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Fkernel_Environment%2FViewerNDimensionsException.h;h=75921fb9474e67032b3c2b11e56dbe1e69e504c6;hb=a58419b26d46db5189064fc2fc1c94288350a5cf;hp=db38b7c8317f30ad62c7071ba4f3a9d03e567d7b;hpb=f23e62ed22294c025c467c2bed69be676be8fba8;p=creaEnvironment.git diff --git a/lib/kernel_Environment/ViewerNDimensionsException.h b/lib/kernel_Environment/ViewerNDimensionsException.h index db38b7c..75921fb 100644 --- a/lib/kernel_Environment/ViewerNDimensionsException.h +++ b/lib/kernel_Environment/ViewerNDimensionsException.h @@ -3,8 +3,8 @@ Program: ViewerNDimensionsException Module: $RCSfile: ViewerNDimensionsException.h,v $ Language: C++ - Date: $Date: 2008/10/31 15:08:40 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/11/07 10:37:20 $ + Version: $Revision: 1.3 $ Objective: Exception of the program when something has setted wrong Authot: Monica Maria Lozano Romero @@ -25,7 +25,7 @@ #include #include - +#include "ConceptInstantHandler.h" // PROJECT INCLUDES @@ -36,7 +36,8 @@ //NAMESPACE - class ViewerNDimensionsException: public std::exception + class CreaEnvironment_EXPORTS ViewerNDimensionsException: + public std::exception { public: //====== LIFECYCLE ======== @@ -44,6 +45,12 @@ { this->msg=msg; } +#if(WIN32) +#else + virtual ~ViewerNDimensionsException() throw (); +#endif + + //======= INQUIRY =========== virtual const char* what() const throw() { @@ -56,4 +63,4 @@ */ std::string msg; };//viewerNDimensionsException; -#endif \ No newline at end of file +#endif