]> Creatis software - creaEnvironment.git/commitdiff
e
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Fri, 7 Nov 2008 09:43:13 +0000 (09:43 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Fri, 7 Nov 2008 09:43:13 +0000 (09:43 +0000)
lib/kernel_Environment/ReaderEnvironment_Txx.h
lib/kernel_Environment/ViewerNDimensionsException.h

index e492d6a1d1bb962eef26672d0f9dad1dbd85f0e0..8a512bce0cf0e1a99204bb6fa2e10f14d0dc083e 100644 (file)
@@ -10,7 +10,7 @@
 
 //NAMESPACE                                    
 
-
+#include <cstdlib>
 
 
                                        //====== LIFECYCLE ========
index db38b7c8317f30ad62c7071ba4f3a9d03e567d7b..fcbe62c91ab47bb8a95bd0e105d8e47ecd69136d 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 09:43:13 $
+  Version:   $Revision: 1.2 $
   Objective:  Exception of the program when something has setted wrong
   Authot:      Monica Maria Lozano Romero
 
@@ -36,7 +36,8 @@
 //NAMESPACE
 
 
-       class ViewerNDimensionsException: public std::exception
+       class ViewerNDimensionsException: 
+               public std::exception
                {
                        public:
                                //====== LIFECYCLE ========
@@ -44,6 +45,9 @@
                                {
                                        this->msg=msg;
                                }
+                               virtual ~ViewerNDimensionsException() throw ();
+                               
+                               
                                //======= INQUIRY ===========
                                virtual const char* what() const throw()
                                {
@@ -56,4 +60,4 @@
                                */
                                std::string msg; 
                };//viewerNDimensionsException; 
-#endif
\ No newline at end of file
+#endif