Corrected for PAL13400.

This commit is contained in:
skl 2006-10-11 11:10:03 +00:00
parent faf37f0973
commit 846ed72204

View File

@ -1100,6 +1100,10 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh,
return myGen.Compute( myLocMesh, myLocShape);
}
}
catch ( std::bad_alloc& exc ) {
THROW_SALOME_CORBA_EXCEPTION( "Memory allocation problem",
SALOME::INTERNAL_ERROR );
}
catch ( SALOME_Exception& S_ex ) {
INFOS( "Compute(): catch exception "<< S_ex.what() );
}