0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / QANewBRepNaming / QANewBRepNaming_ImportShape.cxx
index ff286a6..7037f59 100644 (file)
@@ -62,7 +62,7 @@ QANewBRepNaming_ImportShape::QANewBRepNaming_ImportShape(const TDF_Label& L):QAN
 
 void QANewBRepNaming_ImportShape::Init(const TDF_Label& Label) {
   if(Label.IsNull()) 
-    Standard_NullObject::Raise("QANewBRepNaming_ImportShape::Init The Result label is Null ..."); 
+    throw Standard_NullObject("QANewBRepNaming_ImportShape::Init The Result label is Null ...");
   myResultLabel = Label;
 }