0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / LocOpe / LocOpe_RevolutionForm.cxx
index 30b465c..ce08089 100644 (file)
@@ -183,7 +183,7 @@ void LocOpe_RevolutionForm::IntPerf()
 const TopoDS_Shape& LocOpe_RevolutionForm::Shape () const
 {
   if (!myDone) {
-    StdFail_NotDone::Raise();
+    throw StdFail_NotDone();
   }
   return myRes;
 }