Identical 'catch' branches in 'try' statement
catch sections in a single
Collapsing such sections into one multi-catch block reduces code duplication and prevents the situations when one
catch section is updated, and another one is not.
A quick-fix is available to make the code more compact:
This inspection depends on the Java feature 'Multi-catches' which is available since Java 7.
Here you can find the description of settings available for the Identical 'catch' branches in 'try' statement inspection, and the reference of their default values.
- Do not report catch blocks with different comments