Salome HOME
updated copyright message
[modules/shaper.git] / src / XAO / XAO_XaoExporter.hxx
index af90b8b1c0e1bf582ed4b52eefb91c0125fbac8a..09999c8b0dfbf4facdac6aafc774c48c513c6d7a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -47,8 +47,8 @@ namespace XAO
          * @param shapeFileName if not empty save the shape in an this external file.
          * @return true if the export was successful, false otherwise.
          */
-        static const bool saveToFile(Xao* xaoObject, const std::string& fileName, const std::string& shapeFileName)
-        throw (XAO_Exception);
+        static bool saveToFile(Xao* xaoObject, const std::string& fileName, const std::string& shapeFileName)
+        ;
 
         /**
          * Saves the XAO object to a XML string.
@@ -56,7 +56,7 @@ namespace XAO
          * @return the XML string.
          */
         static const std::string saveToXml(Xao* xaoObject)
-        throw (XAO_Exception);
+        ;
 
         /**
          * Reads a XAO object from a file.
@@ -64,8 +64,8 @@ namespace XAO
          * @param xaoObject the XAO object.
          * @return true if the XAO object was read successful, false otherwise.
          */
-        static const bool readFromFile(const std::string& fileName, Xao* xaoObject)
-        throw (XAO_Exception);
+        static bool readFromFile(const std::string& fileName, Xao* xaoObject)
+        ;
 
         /**
          * Reads a XAO object from an XML string.
@@ -73,8 +73,8 @@ namespace XAO
          * @param xaoObject the XAO object.
          * @return true if the XAO object was read successful, false otherwise.
          */
-        static const bool setXML(const std::string& xml, Xao* xaoObject)
-        throw (XAO_Exception);
+        static bool setXML(const std::string& xml, Xao* xaoObject)
+        ;
     };
 }