0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / BRepFeat / BRepFeat_MakeRevolutionForm.cxx
index c22947e..3ab743a 100644 (file)
@@ -1002,7 +1002,7 @@ void BRepFeat_MakeRevolutionForm::Add(const TopoDS_Edge& E,
       }
     }
     if (!exp.More()) {
-      Standard_ConstructionError::Raise();
+      throw Standard_ConstructionError();
     }
   
     if (!mySlface.IsBound(F)) {