mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 17:43:48 +08:00
0028550: Foundation Classes - fix empty message passed to thrown exception
This commit is contained in:
@@ -191,7 +191,7 @@ void GeomAPI_PointsToBSpline::Init
|
||||
const GeomAbs_Shape Continuity,
|
||||
const Standard_Real Tol3D)
|
||||
{
|
||||
if (Params.Length() != Points.Length()) throw Standard_OutOfRange("");
|
||||
if (Params.Length() != Points.Length()) throw Standard_OutOfRange ("GeomAPI_PointsToBSpline::Init() - invalid input");
|
||||
|
||||
Standard_Real Tol2D = 0.; // dummy argument for BSplineCompute.
|
||||
Standard_Integer Nbp = Params.Length();
|
||||
|
||||
Reference in New Issue
Block a user