0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / ExprIntrp / ExprIntrp_GenRel.cxx
index c101950..5a207ec 100644 (file)
@@ -61,7 +61,7 @@ Standard_Boolean ExprIntrp_GenRel::IsDone() const
 Handle(Expr_GeneralRelation) ExprIntrp_GenRel::Relation () const
 {
   if (!done) {
-    Standard_NoSuchObject::Raise();
+    throw Standard_NoSuchObject();
   }
   return myRelation;
 }