The codebase has many naked catch aka
try
{
// snipped
}
catch
{
}
This pattern is wrong because the catch might intercept anything, and possibly unrelated problems like OutOfMemoryException which should not be caught.
All those naked catches should be removed; replaced by exception-specific catches.
The codebase has many naked
catchakaThis pattern is wrong because the
catchmight intercept anything, and possibly unrelated problems likeOutOfMemoryExceptionwhich should not be caught.All those naked catches should be removed; replaced by exception-specific catches.