Inspectopedia
 
2024.3

'Error' not rethrown

Warning
New
Last modified: 03 December 2024

Reports try statements that catch java.lang.Error or any of its subclasses and do not rethrow the error.

Statements that catch java.lang.ThreadDeath are not reported.

Example: