// FG.Init(f3d,(Standard_Address)&C);
math_GaussSingleIntegration TheLength(FG, U1, U2, order(C));
if (!TheLength.IsDone()) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
return Abs(TheLength.Value());
}
// FG.Init(f2d,(Standard_Address)&C);
math_GaussSingleIntegration TheLength(FG, U1, U2, order(C));
if (!TheLength.IsDone()) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
return Abs(TheLength.Value());
}
// FG.Init(f3d,(Standard_Address)&C);
math_GaussSingleIntegration TheLength(FG, U1, U2, order(C), Tol);
if (!TheLength.IsDone()) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
return Abs(TheLength.Value());
}
// FG.Init(f2d,(Standard_Address)&C);
math_GaussSingleIntegration TheLength(FG, U1, U2, order(C), Tol);
if (!TheLength.IsDone()) {
- Standard_ConstructionError::Raise();
+ throw Standard_ConstructionError();
}
return Abs(TheLength.Value());
}