message: the final throw can now be thrown
diff: @@ -310,11 +310,13 @@ namespace RINGMesh {
  mesh_entity_id = cur_gme.index() ;
  }
  }
  - return mesh_entity_id ;
  + if (mesh_entity_id == NO_ID){
  throw RINGMeshException("GeoModelEntity name : ",
  name
  + " does not match with any actual GeoModelEntity name in the GeoModel");
  }
  + return mesh_entity_id ;
  + }
  index_t find_geological_entity_id_from_name(
  const RINGMesh::GeoModel& geomodel,
  @@ -335,11 +337,13 @@ namespace RINGMesh {
  geological_entity_id = cur_gme.index() ;
  }
  }
  - return geological_entity_id ;
  + if (geological_entity_id == NO_ID){
  throw RINGMeshException("GeoModelEntity name : ",
  name
  + " does not match with any actual GeoModelEntity name in the GeoModel");
  }
  + return geological_entity_id ;
  + }
  /*******************************************************************************/
  