0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / TopOpeBRep / TopOpeBRep_VPointInterClassifier.cxx
index 86d78d6..4b6d414 100644 (file)
@@ -91,7 +91,7 @@ TopAbs_State TopOpeBRep_VPointInterClassifier::VPointPosition
     }
     break;
   }
-  default : Standard_ProgramError::Raise("VPointClassifier : wrong Index");
+  default : throw Standard_ProgramError("VPointClassifier : wrong Index");
   }
 
   if (myState == TopAbs_ON) {