From 0c06ae1e8c133ee9ff768c886e162e0e1752bef6 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 18 May 2007 09:05:27 +0000 Subject: [PATCH] PAL14921 (memory limitation and Salome freeze) - Unexpect aCatch(SalomeException); + // PAL14921. Enable catching std::bad_alloc and Standard_OutOfMemory outside + //Unexpect aCatch(SalomeException); --- src/GHS3DPlugin_GHS3D.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin_GHS3D.cxx index 45b5838..57c7983 100644 --- a/src/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin_GHS3D.cxx @@ -496,7 +496,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, #endif if (!Ok) - return error(dfltErr(), SMESH_Comment("Can't write into ") << aTmpDir.ToCString()); + return error( SMESH_Comment("Can't write into ") << aTmpDir.ToCString()); map aSmdsToGhs3dIdMap; map aGhs3dIdToNodeMap; @@ -555,7 +555,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, } else { - Ok = error(dfltErr(), "Problem with launching ghs3d"); + Ok = error( "Problem with launching ghs3d"); } // --------------------- @@ -566,7 +566,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, OSD_File( aLogFileName ).Remove(); } else if ( OSD_File( aLogFileName ).Size() > 0 ) { - Ok = error(dfltErr(), SMESH_Comment("See ")<< aLogFileName.ToCString() ); + Ok = error( SMESH_Comment("See ")<< aLogFileName.ToCString() ); } else { OSD_File( aLogFileName ).Remove(); -- 2.39.2