0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / BSplCLib / BSplCLib_CurveComputation.gxx
index 58ad873..fe68f85 100644 (file)
@@ -1363,7 +1363,7 @@ void BSplCLib::MovePointAndTangent (const Standard_Real      U,
   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 ;
@@ -1433,7 +1433,7 @@ void BSplCLib::FunctionMultiply
   
   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()) ;
@@ -1472,7 +1472,7 @@ void BSplCLib::FunctionReparameterise
   
   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()) ;