Inspectopedia
 
2024.3

Unused 'catch' parameter

Warning
Code Style
Last modified: 03 December 2024

Reports catch parameters that are unused in their corresponding blocks. This inspection will not report any catch parameters named "ignore" or "ignored".

Example:

Here the parameter ex is never used in catch block.

After the quick-fix is applied: