Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCKGUI / HEXABLOCKGUI_Exception.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 3cda2ab..4071034
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -20,7 +20,7 @@
 #ifndef __HEXABLOCKGUI_EXCEPTION_HXX__
 #define __HEXABLOCKGUI_EXCEPTION_HXX__
 
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
 
 #include <string>
 #include <exception>
@@ -29,14 +29,14 @@ namespace HEXABLOCK
 {
   namespace GUI
   {
-    class HexaExport Exception : public std::exception
+    class HEXABLOCK_EXPORT Exception : public std::exception
     {
     protected:
       std::string _what;
     public:
       Exception(const std::string& what);
-      const char *what( void ) const throw ();
-      virtual ~Exception() throw ();
+      const char *what( void ) const noexcept;
+      virtual ~Exception() noexcept;
     };
   }
 }