]> Creatis software - creaEnvironment.git/blobdiff - lib/kernel_Environment/ViewerNDimensionsException.h
change for compiling under windows and linux
[creaEnvironment.git] / lib / kernel_Environment / ViewerNDimensionsException.h
index db38b7c8317f30ad62c7071ba4f3a9d03e567d7b..75921fb9474e67032b3c2b11e56dbe1e69e504c6 100644 (file)
@@ -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 <iostream>
 #include <exception>
-
+#include "ConceptInstantHandler.h"
 // PROJECT INCLUDES
 
 
@@ -36,7 +36,8 @@
 //NAMESPACE
 
 
-       class ViewerNDimensionsException: public std::exception
+       class CreaEnvironment_EXPORTS ViewerNDimensionsException: 
+               public std::exception
                {
                        public:
                                //====== LIFECYCLE ========
                                {
                                        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