0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / Graphic3d / Graphic3d_AspectFillArea3d.cxx
index a8273d9..d8c395c 100644 (file)
@@ -64,6 +64,6 @@ Graphic3d_AspectFillArea3d::Graphic3d_AspectFillArea3d (const Aspect_InteriorSty
 {
   if (theEdgeLineWidth <= 0.0)
   {
-    Aspect_AspectFillAreaDefinitionError::Raise ("Bad value for EdgeLineWidth");
+    throw Aspect_AspectFillAreaDefinitionError("Bad value for EdgeLineWidth");
   }
 }