0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / IGESDraw / IGESDraw_CircArraySubfigure.cxx
index e57bcbc..4b4fd18 100644 (file)
@@ -42,7 +42,7 @@ IGESDraw_CircArraySubfigure::IGESDraw_CircArraySubfigure ()    {  }
 {
   if (!allNumPos.IsNull())
     if (allNumPos->Lower() != 1)
-      Standard_DimensionMismatch::Raise("IGESDraw_CircArraySubfigure : Init");
+      throw Standard_DimensionMismatch("IGESDraw_CircArraySubfigure : Init");
   theBaseEntity  = aBase;
   theNbLocations = aNumLocs;
   theCenter      = aCenter;