1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0028550: Foundation Classes - fix empty message passed to thrown exception

This commit is contained in:
kgv
2017-04-18 18:58:12 +03:00
committed by bugmaster
parent e87d0237d8
commit 2d2b3d53b7
142 changed files with 519 additions and 422 deletions

View File

@@ -317,7 +317,7 @@ void Geom2dAPI_PointsToBSpline::Init
const GeomAbs_Shape Continuity,
const Standard_Real Tol2D)
{
if (Params.Length() != Points.Length()) throw Standard_OutOfRange("");
if (Params.Length() != Points.Length()) throw Standard_OutOfRange ("Geom2dAPI_PointsToBSpline::Init() - invalid input");
Standard_Real Tol3D = 0.; // dummy argument for BSplineCompute.
Standard_Integer Nbp = Params.Length();