0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / BRepBlend / BRepBlend_SurfRstLineBuilder.cxx
index 4689af8..40adf8d 100644 (file)
@@ -474,7 +474,7 @@ Standard_Boolean BRepBlend_SurfRstLineBuilder::Complete(Blend_SurfRstFunction&
                                                        Blend_SurfCurvFuncInv&  FinvC,
                                                        const Standard_Real     Pmin) 
 {
-  if (!done) {StdFail_NotDone::Raise();}
+  if (!done) {throw StdFail_NotDone();}
   if (iscomplete) {return Standard_True;}
   if (sens >0.) {
     previousP = line->Point(1);