0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / HLRTopoBRep / HLRTopoBRep_DSFiller.cxx
index 30e5f01..d07d2d8 100644 (file)
@@ -419,7 +419,7 @@ void  HLRTopoBRep_DSFiller::InsertFace (const Standard_Integer /*FI*/,
              
               case Contap_Restriction :
               {
-                Standard_ProgramError::Raise("HLRTopoBRep_DSFiller::InsertFace : Restriction");
+                throw Standard_ProgramError("HLRTopoBRep_DSFiller::InsertFace : Restriction");
               }
               break;
             }