0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / QANewBRepNaming / QANewBRepNaming_BooleanOperationFeat.cxx
index 88569e3..35553b0 100644 (file)
@@ -95,7 +95,7 @@ QANewBRepNaming_BooleanOperationFeat::QANewBRepNaming_BooleanOperationFeat(const
 
 void QANewBRepNaming_BooleanOperationFeat::Init(const TDF_Label& ResultLabel) {  
   if(ResultLabel.IsNull()) 
-    Standard_NullObject::Raise("QANewBRepNaming_BooleanOperationFeat::Init The Result label is Null ..."); 
+    throw Standard_NullObject("QANewBRepNaming_BooleanOperationFeat::Init The Result label is Null ...");
   myResultLabel = ResultLabel; 
 }