-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
* \param [in] braNodes - nodes of the branch
* \param [in] nodeIndex - index of a node of the branch
* \param [inout] mesh - mesh holding the nodes and segments
- *
- *
*/
//================================================================================
SMESH_Mesh* mesh1D;
SMDS_ElemIteratorPtr segIt = theHyp->GetEnforcedSegments( theEnfMesh, mesh1D );
if ( !segIt->more() )
- return;
+ throw SALOME_Exception("No edges in an enforced mesh");
// setup predicates to detect nodes on FACE boundary
setupPredicates( theShape );