From: Ovidiu Mircescu Date: Wed, 31 Jan 2018 15:11:06 +0000 (+0100) Subject: Uncaught exception in ResourcesManager. X-Git-Tag: V8_5_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8c90ef14724f6dabc14d99aa0650c4f8a19c9fff;p=modules%2Fkernel.git Uncaught exception in ResourcesManager. --- 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