0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / IntPatch / IntPatch_ImpPrmIntersection.cxx
index 8f773cd..ac89bbb 100644 (file)
@@ -549,7 +549,7 @@ void IntPatch_ImpPrmIntersection::Perform (const Handle(Adaptor3d_HSurface)& Sur
         break;
       default:
         {
-          Standard_ConstructionError::Raise();
+          throw Standard_ConstructionError();
           break;
         }
       }