]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Uncaught exception in ResourcesManager.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 31 Jan 2018 15:11:06 +0000 (16:11 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 31 Jan 2018 15:11:06 +0000 (16:11 +0100)
src/ResourcesManager/SALOME_ResourcesManager.cxx

index f9686e195976e9fbdb427579b18d1cd367372cfe..18b0d34f81fdbfc72408db405edfdd4a97b6a4c3 100644 (file)
@@ -267,6 +267,11 @@ SALOME_ResourcesManager::AddResource(const Engines::ResourceDefinition& new_reso
     INFOS("Error in AddResourceInCatalog: " << e);
     THROW_SALOME_CORBA_EXCEPTION(e.what(), SALOME::BAD_PARAM);
   }
+  catch (const ResourcesException & e)
+  {
+    INFOS("Error in AddResourceInCatalog: " << e.msg);
+    THROW_SALOME_CORBA_EXCEPTION(e.msg.c_str(), SALOME::BAD_PARAM);
+  }
 }
 
 void