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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user