Remove or replace catch blocks that handle SystemException #6271
Labels
bulk-changes
Indicates issues or PRs that don't apply to a particular topic but to the whole docset
doc-enhancement
Improve the current content [org][type][category]
help wanted
Good for community contributors to help [up-for-grabs]
sample-code
Indicates issues requesting samples
Remove or replace catch blocks that handle SystemException
See #4870 on the use of Exception in catch blocks.
See #6270** on the use of ApplicationException in catch blocks.
The handling of SystemException is particularly widespread in legacy code (that is, examples written for .NET Framework 1.0, 1.1, and 2.0 that have not been revised subsequently). The problems are:
To address the issue of incorrect exception handling:
The text was updated successfully, but these errors were encountered: