Closed michael-damatov closed 6 years ago
Catching the Exception without declaring the exception variable
Exception
try { ... } catch (Exception) { ... }
is redundant and can be omitted:
try { ... } catch { ... }
A quick fix is available to remove the exception type declaration.
Catching the
Exception
without declaring the exception variableis redundant and can be omitted:
A quick fix is available to remove the exception type declaration.