Inspectopedia
 
2024.3

Duplicate throws

Warning
New
Last modified: 03 December 2024

Reports duplicate exceptions in a method throws list.

Example:

After the quick-fix is applied:

Use the Ignore exceptions subclassing others option to ignore exceptions subclassing other exceptions.