0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / math / math_Matrix.cxx
index 3bdc476..f8cca05 100644 (file)
@@ -169,7 +169,7 @@ void math_Matrix::Invert()
     Sol.Invert(*this);
   }
   else {
-    math_SingularMatrix::Raise(); // SingularMatrix Exception;
+    throw math_SingularMatrix(); // SingularMatrix Exception;
   }
 }