Home / Vulnerability Database / C-sharp : Error handling: generic exception catch
C#

C-sharp : Error handling: generic exception catch

Classification

Overview

The application catches an exception of a general type (Exception or SystemException) making it difficult to diagnose and recover from errors.

It is recommended to take full advantage of the C# exception mechanism for error handling, which allows to accurately determine the type of exception in order to then process it in the proper catch-block.

LOW

DerScanner Severity Score

Do you want to fix C-sharp : Error handling: generic exception catch in your application?

See also

C#

C-sharp : JWT: None Algorithm

C#

C-sharp : Insecure data transmission: Database

C#

C-sharp : Only one of method Equals() and GetHashCode() defined