Salome HOME
Copyright update 2021
[modules/yacs.git] / src / runtime / CORBAPythonConv.hxx
index eeaf31ca209444e4bf954073f90463fa9e6aa436..975d959bd5cf0c22abc84ff37c403c0e48211144 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2012  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
@@ -39,8 +39,8 @@ namespace YACS
     {
     public:
       CorbaPyDouble(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -52,8 +52,8 @@ namespace YACS
     {
     public:
       CorbaPyInt(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -65,8 +65,8 @@ namespace YACS
     {
     public:
       CorbaPyString(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -80,8 +80,8 @@ namespace YACS
     {
     public:
       CorbaPyBool(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -93,8 +93,8 @@ namespace YACS
     {
     public:
       CorbaPyObjref(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -106,8 +106,8 @@ namespace YACS
     {
     public:
       CorbaPySequence(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     protected:
       DynamicAny::DynAnyFactory_ptr _dynfactory;
     };
@@ -121,8 +121,8 @@ namespace YACS
     {
     public:
       CorbaPyStruct(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
   }