Salome HOME
Small fixes in tests.
[modules/yacs.git] / src / engine / DataPort.hxx
index 21e80429147a1dd7094bb3f618f36b986ad27ee0..9097e2377a71e161fdcfd03d5563f4dc73e116d4 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2021  CEA/DEN, EDF R&D
 //
 // 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
@@ -58,7 +58,7 @@ namespace YACS
       //! returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM.
       virtual TypeOfChannel getTypeOfChannel() const = 0;
       bool isDifferentTypeOf(const DataPort *other) const;
-      virtual void edRemoveAllLinksLinkedWithMe() throw(Exception) = 0;
+      virtual void edRemoveAllLinksLinkedWithMe()  = 0;
       virtual std::string typeName() {return "YACS__ENGINE__DataPort";}
       virtual std::string getAsString();
     public: