]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
improve error message
authoreap <eap@opencascade.com>
Thu, 17 Apr 2008 07:49:56 +0000 (07:49 +0000)
committereap <eap@opencascade.com>
Thu, 17 Apr 2008 07:49:56 +0000 (07:49 +0000)
src/StdMeshers/StdMeshers_MEFISTO_2D.cxx

index 6307f167ebeacbe09a4f816af3f7ccfccc01f4a3..18a60adbcec296487b06dcd0042434819652ed10 100644 (file)
@@ -500,7 +500,8 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector &                 wires,
     const vector<UVPtStruct>& uvPtVec = wires[ iW ]->GetUVPtStruct();
     if ( uvPtVec.size() != wires[ iW ]->NbPoints() ) {
       return error(COMPERR_BAD_INPUT_MESH,SMESH_Comment("Unexpected nb of points on wire ")
-                   << iW << uvPtVec.size()<<" != "<<wires[ iW ]->NbPoints());
+                   << iW << ": " << uvPtVec.size()<<" != "<<wires[ iW ]->NbPoints()
+                   << ", probably because of invalid node parameters on geom edges");
     }
     if ( m + uvPtVec.size()-1 > mefistoToDS.size() ) {
       MESSAGE("Wrong mefistoToDS.size: "<<mefistoToDS.size()<<" < "<<m + uvPtVec.size()-1);