num_poles = Poles.Length() ;
if (NewPoles.Length() != num_poles) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
delta_array = (Standard_Real *) &Delta ;
delta_derivative_array = (Standard_Real *)&DeltaDerivatives ;
if (Poles.Length() != num_bspline_poles ||
NewPoles.Length() != num_new_poles) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
Standard_Real * array_of_poles =
(Standard_Real *) &Poles(Poles.Lower()) ;
if (Poles.Length() != num_bspline_poles ||
NewPoles.Length() != num_new_poles) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
Standard_Real * array_of_poles =
(Standard_Real *) &Poles(Poles.Lower()) ;