]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
fix warning c4290 "exception specification ignored except to indicate a function...
authorViktor Uzlov <viktor.uzlov@opencascade.com>
Mon, 17 Aug 2020 15:45:26 +0000 (18:45 +0300)
committerViktor Uzlov <viktor.uzlov@opencascade.com>
Mon, 17 Aug 2020 15:45:26 +0000 (18:45 +0300)
23 files changed:
src/Communication/ReceiverFactory.cxx
src/Communication/ReceiverFactory.hxx
src/Communication/SenderFactory.cxx
src/Communication/SenderFactory.hxx
src/Container/TestSalome_file.cxx
src/DSC/DSC_Basic/DSC_i.hxx
src/DSC/DSC_Basic/DSC_interface.cxx
src/DSC/DSC_Basic/DSC_interface.hxx
src/DSC/DSC_Basic/PortProperties_i.cxx
src/DSC/DSC_Basic/PortProperties_i.hxx
src/Logger/SALOME_Logger_Server.hxx
src/SALOMEDS/SALOMEDS_AttributeParameter_i.cxx
src/SALOMEDS/SALOMEDS_AttributeParameter_i.hxx
src/SALOMEDS/SALOMEDS_AttributeTableOfInteger_i.cxx
src/SALOMEDS/SALOMEDS_AttributeTableOfInteger_i.hxx
src/SALOMEDS/SALOMEDS_AttributeTableOfReal_i.cxx
src/SALOMEDS/SALOMEDS_AttributeTableOfReal_i.hxx
src/SALOMEDS/SALOMEDS_AttributeTableOfString_i.cxx
src/SALOMEDS/SALOMEDS_AttributeTableOfString_i.hxx
src/SALOMEDS/SALOMEDS_GenericAttribute_i.cxx
src/SALOMEDS/SALOMEDS_GenericAttribute_i.hxx
src/SALOMEDS/SALOMEDS_StudyBuilder_i.cxx
src/SALOMEDS/SALOMEDS_StudyBuilder_i.hxx

index 4c9ba291c34ecd935da953c41f5700fd005c8104..623e9e7630e1b4ee4f2eacec850db9abd26deb44 100644 (file)
@@ -49,7 +49,7 @@
 /*!
   This method performs the transfert of double array with the remote SenderDouble given. If it fails with this SenderDouble it tries with an another protocol (CORBA by default).
  */
-double *ReceiverFactory::getValue(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException)
+double *ReceiverFactory::getValue(SALOME::SenderDouble_ptr sender,long &size)noexcept
 {
   double *ret;
   try{
@@ -69,7 +69,7 @@ double *ReceiverFactory::getValue(SALOME::SenderDouble_ptr sender,long &size)thr
 /*!
   This method performs the transfert of int array with the remote SenderInt given. If it fails with this SenderInt it tries with an another protocol (CORBA by default).
  */
-int *ReceiverFactory::getValue(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException)
+int *ReceiverFactory::getValue(SALOME::SenderInt_ptr sender,long &size)noexcept
 {
   int *ret;
   try{
@@ -89,7 +89,7 @@ int *ReceiverFactory::getValue(SALOME::SenderInt_ptr sender,long &size)throw(Mul
 /*!
   This method performs the transfert with the remote SenderDouble given. If it fails an exception is thrown.
  */
-double *ReceiverFactory::getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException)
+double *ReceiverFactory::getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)noexcept
 {
   SALOME::CorbaDoubleNCSender_ptr cncD_ptr;
   SALOME::CorbaDoubleCSender_ptr cwcD_ptr;
@@ -139,7 +139,7 @@ double *ReceiverFactory::getValueOneShot(SALOME::SenderDouble_ptr sender,long &s
 /*!
   This method performs the transfert with the remote SenderInt given. If it fails an exception is thrown.
  */
-int *ReceiverFactory::getValueOneShot(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException)
+int *ReceiverFactory::getValueOneShot(SALOME::SenderInt_ptr sender,long &size)noexcept
 {
   SALOME::CorbaLongNCSender_ptr cncL_ptr;
   SALOME::CorbaLongCSender_ptr cwcL_ptr;
index 6baf841abb91291abacea46372e4a864db456d7b..89c165fdab8ff9d71a335aea95ebb3b6d19b417a 100644 (file)
 class COMMUNICATION_EXPORT ReceiverFactory
 {
 public:
-  static double *getValue(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException);
-  static int *getValue(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException);
+  static double *getValue(SALOME::SenderDouble_ptr sender,long &size)noexcept;
+  static int *getValue(SALOME::SenderInt_ptr sender,long &size)noexcept;
 private:
-  static double *getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException);
-  static int *getValueOneShot(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException);
+  static double *getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)noexcept;
+  static int *getValueOneShot(SALOME::SenderInt_ptr sender,long &size)noexcept;
 };
 
 #endif
index 681d85cb784017266019d9c0ec5dc00f157031d8..d94e04246e1a6e731be18439934d4d27a1e6e103 100644 (file)
@@ -37,7 +37,7 @@
 #define SALOME_CorbaLongSender SALOME_CorbaLongCSender_i
 #endif
 
-SALOME::SenderDouble_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab)throw(MultiCommException){
+SALOME::SenderDouble_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab)noexcept {
   switch(multiCommunicator.getProtocol())
     {
     case SALOME::CORBA_:
@@ -70,7 +70,7 @@ SALOME::SenderDouble_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommun
     }
 }
 
-SALOME::SenderInt_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab)throw(MultiCommException){
+SALOME::SenderInt_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab)noexcept {
   switch(multiCommunicator.getProtocol())
     {
     case SALOME::CORBA_:
index 1cafd0f28b436ef9984da6f81816d3c55e37af46..ceaaf2f44fe1468591ec35f63683092a07cf1d42 100644 (file)
@@ -40,8 +40,8 @@ class SALOME_SenderInt_i;
 class COMMUNICATION_EXPORT SenderFactory
 {
 public:
-  static SALOME::SenderDouble_ptr buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab=false) throw(MultiCommException);
-  static SALOME::SenderInt_ptr buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab=false) throw(MultiCommException);
+  static SALOME::SenderDouble_ptr buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab=false) noexcept;
+  static SALOME::SenderInt_ptr buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab=false) noexcept;
   static SALOME::SenderDouble_ptr buildSender(SALOME::TypeOfCommunication NewType,SALOME_SenderDouble_i *src);
   static SALOME::SenderInt_ptr buildSender(SALOME::TypeOfCommunication NewType,SALOME_SenderInt_i *src);
 };
index 1aa251a146bf34dfdbc1308eb266271d448400aa..36095892a376207b641d6d7d9596b0d58b3057ae 100644 (file)
@@ -126,7 +126,7 @@ int main (int argc, char * argv[])
   std::cerr << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
   std::cerr << "Test of getFilesInfos()" << std::endl;
   all_infos = file.getFilesInfos();
-  for (int i = 0; i < all_infos->length(); i++)
+  for (int i = 0; i < (int)all_infos->length(); i++)
   {
     print_infos(&((*all_infos)[i]));
   }
@@ -148,7 +148,7 @@ int main (int argc, char * argv[])
 
   file4.load("test.hdf");
   all_infos = file4.getFilesInfos();
-  for (int i = 0; i < all_infos->length(); i++)
+  for (int i = 0; i < (int)all_infos->length(); i++)
   {
     print_infos(&((*all_infos)[i]));
   }
@@ -156,7 +156,7 @@ int main (int argc, char * argv[])
   print_state(state);
   file5.load("test2.hdf");
   all_infos = file5.getFilesInfos();
-  for (int i = 0; i < all_infos->length(); i++)
+  for (int i = 0; i < (int)all_infos->length(); i++)
   {
     print_infos(&((*all_infos)[i]));
   }
index 67e78a6b84b8d1db458fdf4a6aa708c1f586e87d..255efaad4f3223bf1ea3a23b92897ef370b73116 100644 (file)
@@ -73,9 +73,7 @@ public:
   virtual void add_provides_port(Ports::Port_ptr ref, 
                                  const char* provides_port_name,
                                  Ports::PortProperties_ptr port_prop) 
-    throw (Engines::DSC::PortAlreadyDefined,
-           Engines::DSC::NilPort,
-           Engines::DSC::BadProperty) {
+         noexcept {
       Engines_DSC_interface::add_provides_port(ref, 
                                                provides_port_name,
                                                port_prop);
@@ -87,8 +85,7 @@ public:
   virtual void add_uses_port(const char* repository_id, 
                              const char* uses_port_name,
                              Ports::PortProperties_ptr port_prop)
-    throw (Engines::DSC::PortAlreadyDefined,
-           Engines::DSC::BadProperty) {
+         noexcept {
       Engines_DSC_interface::add_uses_port(repository_id, 
                                            uses_port_name,
                                            port_prop);
@@ -99,8 +96,7 @@ public:
    */
   virtual Ports::Port_ptr get_provides_port(const char* provides_port_name,
                                             const CORBA::Boolean connection_error) 
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected) {
+         noexcept {
       return Engines_DSC_interface::get_provides_port(provides_port_name,
                                                       connection_error);
     }
@@ -109,8 +105,7 @@ public:
    * \see Engines::DSC::get_uses_port
    */
   virtual Engines::DSC::uses_port * get_uses_port(const char* uses_port_name)
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected) {
+         noexcept {
       return Engines_DSC_interface::get_uses_port(uses_port_name);
     }
 
@@ -118,7 +113,7 @@ public:
    * \see Engines::DSC::connect_provides_port
    */
   virtual void connect_provides_port(const char* provides_port_name)
-    throw (Engines::DSC::PortNotDefined) {
+         noexcept {
       Engines_DSC_interface::connect_provides_port(provides_port_name);
     }
 
@@ -127,9 +122,7 @@ public:
    */
   virtual void connect_uses_port(const char* uses_port_name,
                                  Ports::Port_ptr provides_port_ref) 
-  throw (Engines::DSC::PortNotDefined,
-         Engines::DSC::BadPortType,
-         Engines::DSC::NilPort) {
+         noexcept {
     Engines_DSC_interface::connect_uses_port(uses_port_name,
                                              provides_port_ref);
   }
@@ -138,7 +131,7 @@ public:
    * \see Engines::DSC::is_connected
    */
   virtual CORBA::Boolean is_connected(const char* port_name)
-    throw (Engines::DSC::PortNotDefined) {
+         noexcept {
       return Engines_DSC_interface::is_connected(port_name);
     }
 
@@ -147,8 +140,7 @@ public:
    */
   virtual void disconnect_provides_port(const char* provides_port_name,
                                         const Engines::DSC::Message message)
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected) {
+         noexcept {
       Engines_DSC_interface::disconnect_provides_port(provides_port_name,
                                                       message);
     }
@@ -159,9 +151,7 @@ public:
   virtual void disconnect_uses_port(const char* uses_port_name,
                                     Ports::Port_ptr provides_port_ref,
                                     const Engines::DSC::Message message)
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected,
-           Engines::DSC::BadPortReference) {
+         noexcept {
       Engines_DSC_interface::disconnect_uses_port(uses_port_name,
                                                   provides_port_ref,
                                                   message);
@@ -171,7 +161,7 @@ public:
    * \see Engines::DSC::get_port_properties
    */
   virtual Ports::PortProperties_ptr get_port_properties(const char* port_name)
-    throw (Engines::DSC::PortNotDefined) {
+         noexcept {
       return Engines_DSC_interface::get_port_properties(port_name);
     }
 };
index b96522c0ce52e826a2b62194ef7220fdc406b87e..ccf86c0fd96bbe7d8442925a3cd137b1c34a6066 100644 (file)
@@ -51,9 +51,7 @@ void
 Engines_DSC_interface::add_provides_port(Ports::Port_ptr ref, 
                                  const char* provides_port_name,
                                  Ports::PortProperties_ptr port_prop) 
-throw (Engines::DSC::PortAlreadyDefined,
-       Engines::DSC::NilPort,
-       Engines::DSC::BadProperty) 
+       noexcept
 {
   // Method args test
   assert(provides_port_name);
@@ -82,8 +80,7 @@ void
 Engines_DSC_interface::add_uses_port(const char* repository_id, 
                              const char* uses_port_name,
                              Ports::PortProperties_ptr port_prop) 
-throw (Engines::DSC::PortAlreadyDefined,
-       Engines::DSC::BadProperty) 
+       noexcept
 {
   // Method args test
   // Note : We can't be shure that repository id
@@ -113,9 +110,7 @@ throw (Engines::DSC::PortAlreadyDefined,
 Ports::Port_ptr
 Engines_DSC_interface::get_provides_port(const char* provides_port_name,
                                  const CORBA::Boolean connection_error) 
-  throw (Engines::DSC::PortNotDefined,
-         Engines::DSC::PortNotConnected, 
-         Engines::DSC::BadPortType) 
+       noexcept
 {
   // Method arg test
   assert(provides_port_name);
@@ -148,9 +143,7 @@ Engines_DSC_interface::get_provides_port(const char* provides_port_name,
 
 Engines::DSC::uses_port * 
 Engines_DSC_interface::get_uses_port(const char* uses_port_name) 
-  throw (Engines::DSC::PortNotDefined,
-         Engines::DSC::PortNotConnected,
-         Engines::DSC::BadPortType) 
+noexcept
 {
   // Method arg test
   assert(uses_port_name);
@@ -188,7 +181,7 @@ Engines_DSC_interface::get_uses_port(const char* uses_port_name)
 
 void
 Engines_DSC_interface::connect_provides_port(const char* provides_port_name)
-    throw (Engines::DSC::PortNotDefined)
+noexcept
 {
   // Method arg test
   assert(provides_port_name);
@@ -213,9 +206,7 @@ Engines_DSC_interface::connect_provides_port(const char* provides_port_name)
 void
 Engines_DSC_interface::connect_uses_port(const char* uses_port_name,
                                          Ports::Port_ptr provides_port_ref) 
-  throw (Engines::DSC::PortNotDefined,
-         Engines::DSC::BadPortType,
-         Engines::DSC::NilPort)
+       noexcept
 {
   // Method arg test
   assert(uses_port_name);
@@ -264,7 +255,7 @@ Engines_DSC_interface::connect_uses_port(const char* uses_port_name,
 
 CORBA::Boolean
 Engines_DSC_interface::is_connected(const char* port_name) 
-  throw (Engines::DSC::PortNotDefined) 
+noexcept
 {
   CORBA::Boolean rtn = false;
 
@@ -285,8 +276,7 @@ Engines_DSC_interface::is_connected(const char* port_name)
 void
 Engines_DSC_interface::disconnect_provides_port(const char* provides_port_name,
                                         const Engines::DSC::Message message)
-throw (Engines::DSC::PortNotDefined,
-       Engines::DSC::PortNotConnected)
+       noexcept
 {
   // Method args test
   assert(provides_port_name);
@@ -313,9 +303,7 @@ void
 Engines_DSC_interface::disconnect_uses_port(const char* uses_port_name,
                                     Ports::Port_ptr provides_port_ref,
                                     const Engines::DSC::Message message)
-throw (Engines::DSC::PortNotDefined,
-       Engines::DSC::PortNotConnected,
-       Engines::DSC::BadPortReference) 
+       noexcept
 {
   // Method args test
   assert(uses_port_name);
@@ -333,7 +321,7 @@ throw (Engines::DSC::PortNotDefined,
   if (my_ports[uses_port_name]->connection_nbr > 0) {
     CORBA::Long port_index = -1;
     CORBA::ULong seq_length = my_ports[uses_port_name]->uses_port_refs.length(); 
-    for(int i = 0; i < seq_length; i++)
+    for(int i = 0; i < (int)seq_length; i++)
     {
       if (my_ports[uses_port_name]->uses_port_refs[i]->_is_equivalent(provides_port_ref))
       {
@@ -351,7 +339,7 @@ throw (Engines::DSC::PortNotDefined,
 
     int index_ancien = 0;
     int index_nouveau = 0;
-    for(;index_ancien < seq_length;) {
+    for(;index_ancien < (int)seq_length;) {
       if (index_ancien == port_index) 
       {
         // Rien a faire !
@@ -380,7 +368,7 @@ throw (Engines::DSC::PortNotDefined,
 
 Ports::PortProperties_ptr
 Engines_DSC_interface::get_port_properties(const char* port_name) 
-  throw (Engines::DSC::PortNotDefined) 
+noexcept
 {
   Ports::PortProperties_ptr rtn_properties = Ports::PortProperties::_nil();
 
index 0a6e05ea6db1a89efe7fcb2950b29a03b9350094..0cffb8b74023ebfb16d84ff7f5f4427b68d55c75 100644 (file)
@@ -53,9 +53,7 @@ public:
   virtual void add_provides_port(Ports::Port_ptr ref, 
                                  const char* provides_port_name,
                                  Ports::PortProperties_ptr port_prop) 
-    throw (Engines::DSC::PortAlreadyDefined,
-           Engines::DSC::NilPort,
-           Engines::DSC::BadProperty);
+    noexcept;
 
   /*!
    * \see Engines::DSC::add_uses_port
@@ -63,25 +61,20 @@ public:
   virtual void add_uses_port(const char* repository_id, 
                              const char* uses_port_name,
                              Ports::PortProperties_ptr port_prop)
-    throw (Engines::DSC::PortAlreadyDefined,
-           Engines::DSC::BadProperty);
+         noexcept;
 
   /*!
    * \see Engines::DSC::get_provides_port
    */
   virtual Ports::Port_ptr get_provides_port(const char* provides_port_name,
                                             const CORBA::Boolean connection_error) 
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected,
-           Engines::DSC::BadPortType);
+         noexcept;
 
   /*!
    * \see Engines::DSC::get_uses_port
    */
   virtual Engines::DSC::uses_port * get_uses_port(const char* uses_port_name)
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected,
-           Engines::DSC::BadPortType);
+         noexcept;
 
   /*!
    * \see Engines::DSC::connect_provides_port
@@ -92,7 +85,7 @@ public:
    * to manage connections between ports.
    */
   virtual void connect_provides_port(const char* provides_port_name)
-    throw (Engines::DSC::PortNotDefined);
+         noexcept;
 
   /*!
    * \see Engines::DSC::connect_uses_port
@@ -102,15 +95,13 @@ public:
    */
   virtual void connect_uses_port(const char* uses_port_name,
                                  Ports::Port_ptr provides_port_ref) 
-  throw (Engines::DSC::PortNotDefined,
-         Engines::DSC::BadPortType,
-         Engines::DSC::NilPort);
+         noexcept;
 
   /*!
    * \see Engines::DSC::is_connected
    */
   virtual CORBA::Boolean is_connected(const char* port_name)
-    throw (Engines::DSC::PortNotDefined);
+         noexcept;
 
    /*!
    * \see Engines::DSC::disconnect_provides_port
@@ -122,8 +113,7 @@ public:
    */
   virtual void disconnect_provides_port(const char* provides_port_name,
                                         const Engines::DSC::Message message)
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected);
+         noexcept;
 
    /*!
    * \see Engines::DSC::disconnect_uses_port
@@ -139,15 +129,13 @@ public:
   virtual void disconnect_uses_port(const char* uses_port_name,
                                     Ports::Port_ptr provides_port_ref,
                                     const Engines::DSC::Message message)
-    throw (Engines::DSC::PortNotDefined,
-           Engines::DSC::PortNotConnected,
-           Engines::DSC::BadPortReference);
+         noexcept;
 
   /*!
    * \see Engines::DSC::get_port_properties
    */
   virtual Ports::PortProperties_ptr get_port_properties(const char* port_name)
-    throw (Engines::DSC::PortNotDefined);
+         noexcept;
 
   static void writeEvent(const char* request,const std::string& containerName, const char* instance_name,
                          const char* port_name, const char* error, const char* message);
index d6ae9e094da3fbb07c46a7c87093613641362e86..5d6aa2529ddbf6600f7e5e97283281a24d6c4ec8 100644 (file)
@@ -32,7 +32,7 @@ PortProperties_i::~PortProperties_i() {}
 
 void
 PortProperties_i::set_property(const char * name, const CORBA::Any& value)
-  throw (Ports::NotDefined, Ports::BadType)
+noexcept
 {
   // Default case, the object has no properties.
   throw Ports::NotDefined();
@@ -40,7 +40,7 @@ PortProperties_i::set_property(const char * name, const CORBA::Any& value)
 
 CORBA::Any* 
 PortProperties_i::get_property(const char* name)
-  throw (Ports::NotDefined)
+noexcept
 {
   // Default case, the object has no properties.
   throw Ports::NotDefined();
index cf0f1070fd7a3f405cc639fbe6a297e401f7c9c0..d519a58107c48668b50294a84cd6b551736e2289 100644 (file)
@@ -48,14 +48,14 @@ class DSC_BASIC_EXPORT PortProperties_i:
      */
     virtual void set_property(const char * name,
                               const CORBA::Any& value)
-      throw (Ports::NotDefined, Ports::BadType);
+               noexcept;
 
     /*!
      * CORBA method : get the value of a property
      * \see Ports::PortProperties::get_property
      */
     virtual CORBA::Any* get_property(const char* name)
-      throw (Ports::NotDefined);
+               noexcept;
 };
 
 #endif
index b74ac45be9d27082bf0793af75766ead75128b3e..c4a5182a228fee051ad6909359a0c0ffd0fd4b1b 100644 (file)
@@ -48,7 +48,7 @@
 #endif
 
 #ifdef WIN32
-//#pragma warning(disable:4275) // Disable warning interface non dll
+#pragma warning(disable:4275) // Disable warning interface non dll
 #endif
 
 class LOGGER_EXPORT Logger :
index 376d7f269909eb1e654fcdd8f10849b7d5481cac..f71f1ba560aff9ade85e2a5a1b3ad9d4edd035b0 100644 (file)
@@ -52,7 +52,7 @@ void SALOMEDS_AttributeParameter_i::SetInt(const char* theID, CORBA::Long theVal
  */
 //=======================================================================
 CORBA::Long SALOMEDS_AttributeParameter_i::GetInt(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
@@ -79,7 +79,7 @@ void SALOMEDS_AttributeParameter_i::SetReal(const char* theID, CORBA::Double the
  */
 //=======================================================================
 CORBA::Double SALOMEDS_AttributeParameter_i::GetReal(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
@@ -107,7 +107,7 @@ void SALOMEDS_AttributeParameter_i::SetString(const char* theID, const char* the
  */
 //=======================================================================
 char* SALOMEDS_AttributeParameter_i::GetString(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
@@ -136,7 +136,7 @@ void SALOMEDS_AttributeParameter_i::SetBool(const char* theID, CORBA::Boolean th
  */
 //=======================================================================
 CORBA::Boolean SALOMEDS_AttributeParameter_i::GetBool(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
@@ -169,7 +169,7 @@ void SALOMEDS_AttributeParameter_i::SetRealArray(const char* theID, const SALOME
  */
 //=======================================================================
 SALOMEDS::DoubleSeq* SALOMEDS_AttributeParameter_i::GetRealArray(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
@@ -209,7 +209,7 @@ void SALOMEDS_AttributeParameter_i::SetIntArray(const char* theID, const SALOMED
  */
 //=======================================================================
 SALOMEDS::LongSeq* SALOMEDS_AttributeParameter_i::GetIntArray(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
@@ -249,7 +249,7 @@ void SALOMEDS_AttributeParameter_i::SetStrArray(const char* theID, const SALOMED
  */
 //=======================================================================
 SALOMEDS::StringSeq* SALOMEDS_AttributeParameter_i::GetStrArray(const char* theID)
-  throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (AP_InvalidIdentifier);
index d5e3e0adaf03c1f5f9b209ece2ade6c616dd1d4a..8226ef31d10cfde2d73f8587c7b60d9fa23796ea 100644 (file)
@@ -53,31 +53,31 @@ public:
 
   virtual void SetInt(const char* theID, CORBA::Long theValue);
   virtual CORBA::Long GetInt(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
 
   virtual void SetReal(const char* theID, CORBA::Double theValue);
   virtual CORBA::Double GetReal(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
 
   virtual void SetString(const char* theID, const char* theValue);
   virtual char* GetString(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
   
   virtual void SetBool(const char* theID, CORBA::Boolean theValue);
   virtual CORBA::Boolean GetBool(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
   
   virtual void SetRealArray(const char* theID, const SALOMEDS::DoubleSeq& theArray);
   virtual SALOMEDS::DoubleSeq* GetRealArray(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
   
   virtual void SetIntArray(const char* theID, const SALOMEDS::LongSeq& theArray);
   virtual SALOMEDS::LongSeq* GetIntArray(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
 
   virtual void SetStrArray(const char* theID, const SALOMEDS::StringSeq& theArray);
   virtual SALOMEDS::StringSeq* GetStrArray(const char* theID)
-    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+         noexcept;
   
   virtual CORBA::Boolean IsSet(const char* theID, CORBA::Long theType);
   
index 54b73e0e9b24283f4d42828e06ff22914e4c877d..58b99c63da26600d24a10f4587c8586e95ceedf1 100644 (file)
@@ -54,7 +54,7 @@ char* SALOMEDS_AttributeTableOfInteger_i::GetTitle()
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetRowTitle(CORBA::Long theIndex, const char* theTitle)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectIndex);
@@ -65,7 +65,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SetRowTitle(CORBA::Long theIndex, const
 }
 
 char* SALOMEDS_AttributeTableOfInteger_i::GetRowTitle(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectIndex);
@@ -77,7 +77,7 @@ char* SALOMEDS_AttributeTableOfInteger_i::GetRowTitle(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetRowTitles(const SALOMEDS::StringSeq& theTitles)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectArgumentLength);
@@ -101,7 +101,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfInteger_i::GetRowTitles()
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectIndex);
@@ -113,7 +113,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SetColumnTitle(CORBA::Long theIndex, co
 }
 
 char* SALOMEDS_AttributeTableOfInteger_i::GetColumnTitle(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectIndex);
@@ -125,7 +125,7 @@ char* SALOMEDS_AttributeTableOfInteger_i::GetColumnTitle(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectArgumentLength);
@@ -150,7 +150,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfInteger_i::GetColumnTitles()
 
 //Units support
 void SALOMEDS_AttributeTableOfInteger_i::SetRowUnit(CORBA::Long theIndex, const char* theUnit)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectIndex);
@@ -161,7 +161,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SetRowUnit(CORBA::Long theIndex, const
 }
 
 char* SALOMEDS_AttributeTableOfInteger_i::GetRowUnit(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectIndex);
@@ -173,7 +173,7 @@ char* SALOMEDS_AttributeTableOfInteger_i::GetRowUnit(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetRowUnits(const SALOMEDS::StringSeq& theUnits)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATI_IncorrectArgumentLength);
@@ -209,7 +209,7 @@ CORBA::Long SALOMEDS_AttributeTableOfInteger_i::GetNbColumns()
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::AddRow(const SALOMEDS::LongSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectArgumentLength);
@@ -227,7 +227,7 @@ void SALOMEDS_AttributeTableOfInteger_i::AddRow(const SALOMEDS::LongSeq& theData
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetRow(CORBA::Long theRow, const SALOMEDS::LongSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectArgumentLength);
@@ -245,7 +245,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SetRow(CORBA::Long theRow, const SALOME
 }
 
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::GetRow(CORBA::Long theRow)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -262,7 +262,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::GetRow(CORBA::Long theRow
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::AddColumn(const SALOMEDS::LongSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectArgumentLength);
@@ -280,7 +280,7 @@ void SALOMEDS_AttributeTableOfInteger_i::AddColumn(const SALOMEDS::LongSeq& theD
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SetColumn(CORBA::Long theColumn, const SALOMEDS::LongSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectArgumentLength);
@@ -298,7 +298,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SetColumn(CORBA::Long theColumn, const
 }
 
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::GetColumn(CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -315,7 +315,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::GetColumn(CORBA::Long the
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::PutValue(CORBA::Long theValue, CORBA::Long theRow, CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -337,7 +337,7 @@ CORBA::Boolean SALOMEDS_AttributeTableOfInteger_i::HasValue(CORBA::Long theRow,
 }
 
 CORBA::Long SALOMEDS_AttributeTableOfInteger_i::GetValue(CORBA::Long theRow, CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -356,7 +356,7 @@ CORBA::Long SALOMEDS_AttributeTableOfInteger_i::GetValue(CORBA::Long theRow, COR
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -425,7 +425,7 @@ SALOMEDS::TMPFile* SALOMEDS_AttributeTableOfInteger_i::SaveToFile()
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortRow(CORBA::Long theRow,
                                                                SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                                SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -452,7 +452,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortRow(CORBA::Long theRo
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortColumn(CORBA::Long theColumn, 
                                                                   SALOMEDS::AttributeTable::SortOrder sortOrder,
                                                                   SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -479,7 +479,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortColumn(CORBA::Long th
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortByRow(CORBA::Long theRow,
                                                                  SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                                  SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -506,7 +506,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortByRow(CORBA::Long the
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortByColumn(CORBA::Long theColumn,
                                                                     SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                                     SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -532,7 +532,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortByColumn(CORBA::Long
 
 void SALOMEDS_AttributeTableOfInteger_i::SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
                                                   CORBA::Long theRow2, CORBA::Long theColumn2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -552,7 +552,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SwapCells(CORBA::Long theRow1, CORBA::L
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
@@ -570,7 +570,7 @@ void SALOMEDS_AttributeTableOfInteger_i::SwapRows(CORBA::Long theRow1, CORBA::Lo
 }
 
 void SALOMEDS_AttributeTableOfInteger_i::SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATI_IncorrectIndex);
index a0842a34904acff3835fa4d68bb30e91393eebcd..cb95bdbce34a64b0d0a6c8fe787f5c2ed7db90d2 100644 (file)
@@ -46,73 +46,73 @@ public:
   virtual void SetTitle(const char* theTitle);
   virtual char* GetTitle();
   virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetRowTitle(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetRowTitles(const SALOMEDS::StringSeq& theTitles)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRowTitles();
   virtual void SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+      noexcept;
   virtual char* GetColumnTitle(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetColumnTitles();
 
   virtual void SetRowUnit(CORBA::Long theIndex, const char* theUnit)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetRowUnit(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetRowUnits(const SALOMEDS::StringSeq& theUnits)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRowUnits();
 
   virtual CORBA::Long GetNbRows();
   virtual CORBA::Long GetNbColumns();
   virtual void AddRow(const SALOMEDS::LongSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual void SetRow(CORBA::Long theRow, const SALOMEDS::LongSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* GetRow(CORBA::Long theRow)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void AddColumn(const SALOMEDS::LongSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual void SetColumn(CORBA::Long theColumn, const SALOMEDS::LongSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* GetColumn(CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void PutValue(CORBA::Long theValue, CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual CORBA::Boolean HasValue(CORBA::Long theRow, CORBA::Long theColumn);
   virtual CORBA::Long GetValue(CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual SALOMEDS::LongSeq* GetRowSetIndices(CORBA::Long theRow);
   virtual void SetNbColumns(CORBA::Long theNbColumns);
 
   virtual SALOMEDS::LongSeq* SortRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                      SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                         SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortByRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                        SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortByColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                           SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual void SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
                         CORBA::Long theRow2, CORBA::Long theColumn2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual bool ReadFromFile(const SALOMEDS::TMPFile& theStream);
   virtual SALOMEDS::TMPFile* SaveToFile();
index a4d68689af96024ff943279a73f69ad1f29b972c..212e777a59b715aad49f57408ff731e2cfcd02e1 100644 (file)
@@ -53,7 +53,7 @@ char* SALOMEDS_AttributeTableOfReal_i::GetTitle()
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetRowTitle(CORBA::Long theIndex, const char* theTitle)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (ATR_IncorrectIndex);
@@ -64,7 +64,7 @@ void SALOMEDS_AttributeTableOfReal_i::SetRowTitle(CORBA::Long theIndex, const ch
 }
 
 char* SALOMEDS_AttributeTableOfReal_i::GetRowTitle(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATR_IncorrectIndex);
@@ -76,7 +76,7 @@ char* SALOMEDS_AttributeTableOfReal_i::GetRowTitle(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetRowTitles(const SALOMEDS::StringSeq& theTitles)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (ATR_IncorrectArgumentLength);
@@ -100,7 +100,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfReal_i::GetRowTitles()
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (ATR_IncorrectIndex);
@@ -112,7 +112,7 @@ void SALOMEDS_AttributeTableOfReal_i::SetColumnTitle(CORBA::Long theIndex, const
 }
 
 char* SALOMEDS_AttributeTableOfReal_i::GetColumnTitle(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATR_IncorrectIndex);
@@ -124,7 +124,7 @@ char* SALOMEDS_AttributeTableOfReal_i::GetColumnTitle(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectArgumentLength);
@@ -149,7 +149,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfReal_i::GetColumnTitles()
 
 //Units support
 void SALOMEDS_AttributeTableOfReal_i::SetRowUnit(CORBA::Long theIndex, const char* theUnit)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (ATR_IncorrectIndex);
@@ -160,7 +160,7 @@ void SALOMEDS_AttributeTableOfReal_i::SetRowUnit(CORBA::Long theIndex, const cha
 }
 
 char* SALOMEDS_AttributeTableOfReal_i::GetRowUnit(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATR_IncorrectIndex);
@@ -172,7 +172,7 @@ char* SALOMEDS_AttributeTableOfReal_i::GetRowUnit(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetRowUnits(const SALOMEDS::StringSeq& theUnits)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch (ATR_IncorrectArgumentLength);
@@ -209,7 +209,7 @@ CORBA::Long SALOMEDS_AttributeTableOfReal_i::GetNbColumns()
 }
 
 void SALOMEDS_AttributeTableOfReal_i::AddRow(const SALOMEDS::DoubleSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectArgumentLength);
@@ -222,7 +222,7 @@ void SALOMEDS_AttributeTableOfReal_i::AddRow(const SALOMEDS::DoubleSeq& theData)
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetRow(CORBA::Long theRow, const SALOMEDS::DoubleSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectArgumentLength);
@@ -235,7 +235,7 @@ void SALOMEDS_AttributeTableOfReal_i::SetRow(CORBA::Long theRow, const SALOMEDS:
 }
 
 SALOMEDS::DoubleSeq* SALOMEDS_AttributeTableOfReal_i::GetRow(CORBA::Long theRow)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -252,7 +252,7 @@ SALOMEDS::DoubleSeq* SALOMEDS_AttributeTableOfReal_i::GetRow(CORBA::Long theRow)
 }
 
 void SALOMEDS_AttributeTableOfReal_i::AddColumn(const SALOMEDS::DoubleSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectArgumentLength);
@@ -265,7 +265,7 @@ void SALOMEDS_AttributeTableOfReal_i::AddColumn(const SALOMEDS::DoubleSeq& theDa
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SetColumn(CORBA::Long theColumn, const SALOMEDS::DoubleSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectArgumentLength);
@@ -278,7 +278,7 @@ void SALOMEDS_AttributeTableOfReal_i::SetColumn(CORBA::Long theColumn, const SAL
 }
 
 SALOMEDS::DoubleSeq* SALOMEDS_AttributeTableOfReal_i::GetColumn(CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -295,7 +295,7 @@ SALOMEDS::DoubleSeq* SALOMEDS_AttributeTableOfReal_i::GetColumn(CORBA::Long theC
 }
 
 void SALOMEDS_AttributeTableOfReal_i::PutValue(CORBA::Double theValue, CORBA::Long theRow, CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -312,7 +312,7 @@ CORBA::Boolean SALOMEDS_AttributeTableOfReal_i::HasValue(CORBA::Long theRow, COR
 }
 
 CORBA::Double SALOMEDS_AttributeTableOfReal_i::GetValue(CORBA::Long theRow, CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock; 
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -332,7 +332,7 @@ CORBA::Double SALOMEDS_AttributeTableOfReal_i::GetValue(CORBA::Long theRow, CORB
 }
 
 void SALOMEDS_AttributeTableOfReal_i::RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -401,7 +401,7 @@ SALOMEDS::TMPFile*  SALOMEDS_AttributeTableOfReal_i::SaveToFile()
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortRow(CORBA::Long theRow,
                                                             SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                             SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -428,7 +428,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortRow(CORBA::Long theRow,
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortColumn(CORBA::Long theColumn, 
                                                                SALOMEDS::AttributeTable::SortOrder sortOrder,
                                                                SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -455,7 +455,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortColumn(CORBA::Long theCo
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortByRow(CORBA::Long theRow,
                                                               SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                               SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -482,7 +482,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortByRow(CORBA::Long theRow
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortByColumn(CORBA::Long theColumn,
                                                                  SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                                  SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -508,7 +508,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortByColumn(CORBA::Long the
 
 void SALOMEDS_AttributeTableOfReal_i::SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
                                                CORBA::Long theRow2, CORBA::Long theColumn2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -528,7 +528,7 @@ void SALOMEDS_AttributeTableOfReal_i::SwapCells(CORBA::Long theRow1, CORBA::Long
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
@@ -546,7 +546,7 @@ void SALOMEDS_AttributeTableOfReal_i::SwapRows(CORBA::Long theRow1, CORBA::Long
 }
 
 void SALOMEDS_AttributeTableOfReal_i::SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATR_IncorrectIndex);
index 0024d071bd0e7b474abea6f06c8e5109509be7b3..fc037afb25d6241e823d7c669074d7b46bca3bfd 100644 (file)
@@ -46,73 +46,73 @@ public:
   virtual void SetTitle(const char* theTitle);
   virtual char* GetTitle();
   virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetRowTitle(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetRowTitles(const SALOMEDS::StringSeq& theTitles)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRowTitles();
   virtual void SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetColumnTitle(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetColumnTitles();
 
   virtual void SetRowUnit(CORBA::Long theIndex, const char* theUnit)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetRowUnit(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetRowUnits(const SALOMEDS::StringSeq& theUnits)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRowUnits();
 
   virtual CORBA::Long GetNbRows();
   virtual CORBA::Long GetNbColumns();
   virtual void AddRow(const SALOMEDS::DoubleSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual void SetRow(CORBA::Long theRow, const SALOMEDS::DoubleSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::DoubleSeq* GetRow(CORBA::Long theRow)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void AddColumn(const SALOMEDS::DoubleSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual void SetColumn(CORBA::Long theColumn, const SALOMEDS::DoubleSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::DoubleSeq* GetColumn(CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void PutValue(CORBA::Double theValue, CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual CORBA::Boolean HasValue(CORBA::Long theRow, CORBA::Long theColumn);
   virtual CORBA::Double GetValue(CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual SALOMEDS::LongSeq* GetRowSetIndices(CORBA::Long theRow);
   virtual void SetNbColumns(CORBA::Long theNbColumns);
 
   virtual SALOMEDS::LongSeq* SortRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                      SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                         SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortByRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                        SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortByColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                           SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual void SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
                         CORBA::Long theRow2, CORBA::Long theColumn2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual bool ReadFromFile(const SALOMEDS::TMPFile& theStream);
   virtual SALOMEDS::TMPFile* SaveToFile();
index 75781aeb905c3a4e6b7bc3486da0299157295ca8..3e1e47c3d6f6c591f6f340a1dfd1e5d2ac2a19dd 100644 (file)
@@ -54,7 +54,7 @@ char* SALOMEDS_AttributeTableOfString_i::GetTitle()
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetRowTitle(CORBA::Long theIndex, const char* theTitle)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -66,7 +66,7 @@ void SALOMEDS_AttributeTableOfString_i::SetRowTitle(CORBA::Long theIndex, const
 }
 
 char* SALOMEDS_AttributeTableOfString_i::GetRowTitle(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATS_IncorrectIndex);
@@ -78,7 +78,7 @@ char* SALOMEDS_AttributeTableOfString_i::GetRowTitle(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetRowTitles(const SALOMEDS::StringSeq& theTitles)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -102,7 +102,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetRowTitles()
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -113,7 +113,7 @@ void SALOMEDS_AttributeTableOfString_i::SetColumnTitle(CORBA::Long theIndex, con
 }
 
 char* SALOMEDS_AttributeTableOfString_i::GetColumnTitle(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATS_IncorrectIndex);
@@ -125,7 +125,7 @@ char* SALOMEDS_AttributeTableOfString_i::GetColumnTitle(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -150,7 +150,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetColumnTitles()
 
 //Units support
 void SALOMEDS_AttributeTableOfString_i::SetRowUnit(CORBA::Long theIndex, const char* theUnit)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -161,7 +161,7 @@ void SALOMEDS_AttributeTableOfString_i::SetRowUnit(CORBA::Long theIndex, const c
 }
 
 char* SALOMEDS_AttributeTableOfString_i::GetRowUnit(CORBA::Long theIndex)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch (ATS_IncorrectIndex);
@@ -173,7 +173,7 @@ char* SALOMEDS_AttributeTableOfString_i::GetRowUnit(CORBA::Long theIndex)
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetRowUnits(const SALOMEDS::StringSeq& theUnits)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -210,7 +210,7 @@ CORBA::Long SALOMEDS_AttributeTableOfString_i::GetNbColumns()
 }
 
 void SALOMEDS_AttributeTableOfString_i::AddRow(const SALOMEDS::StringSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -223,7 +223,7 @@ void SALOMEDS_AttributeTableOfString_i::AddRow(const SALOMEDS::StringSeq& theDat
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetRow(CORBA::Long theRow, const SALOMEDS::StringSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -236,7 +236,7 @@ void SALOMEDS_AttributeTableOfString_i::SetRow(CORBA::Long theRow, const SALOMED
 }
 
 SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetRow(CORBA::Long theRow)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -253,7 +253,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetRow(CORBA::Long theRo
 }
 
 void SALOMEDS_AttributeTableOfString_i::AddColumn(const SALOMEDS::StringSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -266,7 +266,7 @@ void SALOMEDS_AttributeTableOfString_i::AddColumn(const SALOMEDS::StringSeq& the
 }
 
 void SALOMEDS_AttributeTableOfString_i::SetColumn(CORBA::Long theColumn, const SALOMEDS::StringSeq& theData)
-     throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectArgumentLength);
@@ -279,7 +279,7 @@ void SALOMEDS_AttributeTableOfString_i::SetColumn(CORBA::Long theColumn, const S
 }
 
 SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetColumn(CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -296,7 +296,7 @@ SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetColumn(CORBA::Long th
 }
 
 void SALOMEDS_AttributeTableOfString_i::PutValue(const char* theValue, CORBA::Long theRow, CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -314,7 +314,7 @@ CORBA::Boolean SALOMEDS_AttributeTableOfString_i::HasValue(CORBA::Long theRow, C
 }
 
 char* SALOMEDS_AttributeTableOfString_i::GetValue(CORBA::Long theRow, CORBA::Long theColumn)
-     throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -333,7 +333,7 @@ char* SALOMEDS_AttributeTableOfString_i::GetValue(CORBA::Long theRow, CORBA::Lon
 }
 
 void SALOMEDS_AttributeTableOfString_i::RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -401,7 +401,7 @@ SALOMEDS::TMPFile*  SALOMEDS_AttributeTableOfString_i::SaveToFile()
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortRow(CORBA::Long theRow,
                                                               SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                               SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -428,7 +428,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortRow(CORBA::Long theRow
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortColumn(CORBA::Long theColumn, 
                                                                  SALOMEDS::AttributeTable::SortOrder sortOrder,
                                                                  SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -455,7 +455,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortColumn(CORBA::Long the
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortByRow(CORBA::Long theRow,
                                                                 SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                                 SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -482,7 +482,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortByRow(CORBA::Long theR
 SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortByColumn(CORBA::Long theColumn,
                                                                    SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                                                    SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -508,7 +508,7 @@ SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortByColumn(CORBA::Long t
 
 void SALOMEDS_AttributeTableOfString_i::SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
                                                  CORBA::Long theRow2, CORBA::Long theColumn2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+       noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -528,7 +528,7 @@ void SALOMEDS_AttributeTableOfString_i::SwapCells(CORBA::Long theRow1, CORBA::Lo
 }
 
 void SALOMEDS_AttributeTableOfString_i::SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
@@ -546,7 +546,7 @@ void SALOMEDS_AttributeTableOfString_i::SwapRows(CORBA::Long theRow1, CORBA::Lon
 }
 
 void SALOMEDS_AttributeTableOfString_i::SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
-  throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(ATS_IncorrectIndex);
index 1e02403147a5f5f1c4cdce9ff44af26133b8f08f..9f7de27bce485b6d88ac84eacc0914b734d92a6a 100644 (file)
@@ -47,73 +47,73 @@ public:
   virtual void SetTitle(const char* theTitle);
   virtual char* GetTitle();
   virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetRowTitle(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetRowTitles(const SALOMEDS::StringSeq& theTitles)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRowTitles();
   virtual void SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetColumnTitle(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetColumnTitles();
 
   virtual void SetRowUnit(CORBA::Long theIndex, const char* theUnit)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual char* GetRowUnit(CORBA::Long theIndex)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SetRowUnits(const SALOMEDS::StringSeq& theUnits)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRowUnits();
 
   virtual CORBA::Long GetNbRows();
   virtual CORBA::Long GetNbColumns();
   virtual void AddRow(const SALOMEDS::StringSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual void SetRow(CORBA::Long theRow, const SALOMEDS::StringSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetRow(CORBA::Long theRow)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void AddColumn(const SALOMEDS::StringSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+         noexcept;
   virtual void SetColumn(CORBA::Long theColumn, const SALOMEDS::StringSeq& theData)
-    throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::StringSeq* GetColumn(CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void PutValue(const char* theValue, CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual CORBA::Boolean HasValue(CORBA::Long theRow, CORBA::Long theColumn);
   virtual char* GetValue(CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual SALOMEDS::LongSeq* GetRowSetIndices(CORBA::Long theRow);
   virtual void SetNbColumns(CORBA::Long theNbColumns);
 
   virtual SALOMEDS::LongSeq* SortRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                      SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                         SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortByRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                        SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual SALOMEDS::LongSeq* SortByColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder, 
                                           SALOMEDS::AttributeTable::SortPolicy sortPolicy)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual void SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
                         CORBA::Long theRow2, CORBA::Long theColumn2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
   virtual void SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
-    throw (SALOMEDS::AttributeTable::IncorrectIndex);
+         noexcept;
 
   virtual bool ReadFromFile(const SALOMEDS::TMPFile& theStream);
   virtual SALOMEDS::TMPFile* SaveToFile();
index 1c97843694a75e49c76a2b5e60d80e68302283ba..f9f0b5dcd87fc66595ac2c4bcc622fef83c7b29c 100644 (file)
@@ -72,7 +72,7 @@ PortableServer::POA_ptr SALOMEDS_GenericAttribute_i::_default_POA()
   return PortableServer::POA::_duplicate(myPOA);
 }
 
-void SALOMEDS_GenericAttribute_i::CheckLocked() throw (SALOMEDS::GenericAttribute::LockProtection) 
+void SALOMEDS_GenericAttribute_i::CheckLocked() noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(GALockProtection);
index 23b692292fb6d849395ddc76974f4b44f169163d..c00e95b38a9de80b5aca2ce68a09bbdb296ea88a 100644 (file)
@@ -50,7 +50,7 @@ public:
 
   virtual PortableServer::POA_ptr _default_POA();
 
-  void CheckLocked() throw (SALOMEDS::GenericAttribute::LockProtection);
+  void CheckLocked() noexcept;
   
   virtual char* Type();
 
index 0a279f11793991c99f357c9c389e05d9653d5db9..7b213adfc6efc44d6ad991989b84aa1fa58b9df7 100644 (file)
@@ -207,7 +207,7 @@ void SALOMEDS_StudyBuilder_i::RemoveObjectWithChildren(SALOMEDS::SObject_ptr anO
  */
 //============================================================================
 void SALOMEDS_StudyBuilder_i::LoadWith(SALOMEDS::SComponent_ptr anSCO, 
-                                       SALOMEDS::Driver_ptr aDriver) throw(SALOME::SALOME_Exception)
+                                       SALOMEDS::Driver_ptr aDriver) noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBSalomeException);
@@ -383,7 +383,7 @@ void SALOMEDS_StudyBuilder_i::NewCommand()
  *  Purpose  : 
  */
 //============================================================================
-void SALOMEDS_StudyBuilder_i::CommitCommand() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::CommitCommand() noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
@@ -423,7 +423,7 @@ void SALOMEDS_StudyBuilder_i::AbortCommand()
  *  Purpose  : 
  */
 //============================================================================
-void SALOMEDS_StudyBuilder_i::Undo() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::Undo() noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
@@ -441,7 +441,7 @@ void SALOMEDS_StudyBuilder_i::Undo() throw (SALOMEDS::StudyBuilder::LockProtecti
  *  Purpose  : 
  */
 //============================================================================
-void SALOMEDS_StudyBuilder_i::Redo() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::Redo() noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
@@ -504,7 +504,7 @@ void  SALOMEDS_StudyBuilder_i::UndoLimit(CORBA::Long n)
  *  Purpose  : 
  */
 //============================================================================
-void SALOMEDS_StudyBuilder_i::CheckLocked() throw (SALOMEDS::StudyBuilder::LockProtection) 
+void SALOMEDS_StudyBuilder_i::CheckLocked() noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
@@ -522,7 +522,7 @@ void SALOMEDS_StudyBuilder_i::CheckLocked() throw (SALOMEDS::StudyBuilder::LockP
  */
 //============================================================================
 void SALOMEDS_StudyBuilder_i::SetName(SALOMEDS::SObject_ptr theSO, const char* theValue)
-     throw(SALOMEDS::StudyBuilder::LockProtection)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
@@ -539,7 +539,7 @@ void SALOMEDS_StudyBuilder_i::SetName(SALOMEDS::SObject_ptr theSO, const char* t
  */
 //============================================================================
 void SALOMEDS_StudyBuilder_i::SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue)
-     throw(SALOMEDS::StudyBuilder::LockProtection)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
@@ -556,7 +556,7 @@ void SALOMEDS_StudyBuilder_i::SetComment(SALOMEDS::SObject_ptr theSO, const char
  */
 //============================================================================
 void SALOMEDS_StudyBuilder_i::SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
+noexcept
 {
   SALOMEDS::Locker lock;
   Unexpect aCatch(SBLockProtection);
index 70855ec5ae9fad386ce9cc2a35505bbaec5566a4..ff19f1649ca27575cdac275b7f889267dd03fac8 100644 (file)
@@ -91,7 +91,7 @@ public:
   virtual SALOMEDS::SObject_ptr NewObjectToTag(SALOMEDS::SObject_ptr theFatherObject, CORBA::Long atag);
 
   virtual void LoadWith(SALOMEDS::SComponent_ptr sco, SALOMEDS::Driver_ptr Engine)
-    throw(SALOME::SALOME_Exception);
+    noexcept; 
   virtual void Load(SALOMEDS::SObject_ptr sco);
 
   virtual void RemoveObject(SALOMEDS::SObject_ptr anObject);
@@ -109,11 +109,11 @@ public:
   virtual bool IsGUID(SALOMEDS::SObject_ptr anObject, const char* theGUID);
 
   virtual void NewCommand();
-  virtual void CommitCommand() throw(SALOMEDS::StudyBuilder::LockProtection);
+  virtual void CommitCommand() noexcept;
   virtual CORBA::Boolean HasOpenCommand();
   virtual void AbortCommand();
-  virtual void Undo() throw(SALOMEDS::StudyBuilder::LockProtection);
-  virtual void Redo() throw(SALOMEDS::StudyBuilder::LockProtection);
+  virtual void Undo() noexcept;
+  virtual void Redo() noexcept;
   CORBA::Boolean GetAvailableUndos();
   CORBA::Boolean GetAvailableRedos();
   CORBA::Boolean IsSaved();
@@ -121,11 +121,11 @@ public:
   virtual CORBA::Long UndoLimit();
   virtual void UndoLimit(CORBA::Long);
 
-  void CheckLocked() throw (SALOMEDS::StudyBuilder::LockProtection);
+  void CheckLocked() noexcept;
 
-  virtual void SetName(SALOMEDS::SObject_ptr theSO, const char* theValue) throw(SALOMEDS::StudyBuilder::LockProtection);
-  virtual void SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue) throw(SALOMEDS::StudyBuilder::LockProtection);
-  virtual void SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue) throw(SALOMEDS::StudyBuilder::LockProtection);
+  virtual void SetName(SALOMEDS::SObject_ptr theSO, const char* theValue) noexcept;
+  virtual void SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue) noexcept;
+  virtual void SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue) noexcept;
 
   SALOMEDSImpl_StudyBuilder* GetImpl() { return _impl; }