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