From 8c90ef14724f6dabc14d99aa0650c4f8a19c9fff Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Wed, 31 Jan 2018 16:11:06 +0100 Subject: [PATCH] Uncaught exception in ResourcesManager. --- src/ResourcesManager/SALOME_ResourcesManager.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ResourcesManager/SALOME_ResourcesManager.cxx b/src/ResourcesManager/SALOME_ResourcesManager.cxx index f9686e195..18b0d34f8 100644 --- a/src/ResourcesManager/SALOME_ResourcesManager.cxx +++ b/src/ResourcesManager/SALOME_ResourcesManager.cxx @@ -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 -- 2.39.2