0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / IGESDraw / IGESDraw_LabelDisplay.cxx
index ce2dece..e20d74d 100644 (file)
@@ -45,7 +45,7 @@ IGESDraw_LabelDisplay::IGESDraw_LabelDisplay ()    {  }
       (allLeaderEntities->Lower() != 1 || allLeaderEntities->Length() != Ln) ||
       (allLabelLevels->Lower()    != 1 || allLabelLevels->Length()    != Ln) ||
       (allDisplayedEntities->Lower() != 1 || allDisplayedEntities->Length() != Ln))
-    Standard_DimensionMismatch::Raise("IGESDraw_LabelDisplay : Init");
+    throw Standard_DimensionMismatch("IGESDraw_LabelDisplay : Init");
 
   theViews             = allViews; 
   theTextLocations     = allTextLocations;