0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / GccAna / GccAna_Circ2d2TanOn_2.cxx
index a10b7cc..e731cc3 100644 (file)
@@ -61,7 +61,7 @@ GccAna_Circ2d2TanOn::
        Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
       !(Qualified2.IsEnclosed() ||
        Qualified2.IsOutside() || Qualified2.IsUnqualified())) {
-  GccEnt_BadQualifier::Raise();
+  throw GccEnt_BadQualifier();
     return;
   }