You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2021/04/08 12:20:00 UTC

[jira] [Resolved] (LUCENE-9911) enable ecjLint unusedExceptionParameter

     [ https://issues.apache.org/jira/browse/LUCENE-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-9911.
---------------------------------
    Fix Version/s: main (9.0)
       Resolution: Fixed

> enable ecjLint unusedExceptionParameter
> ---------------------------------------
>
>                 Key: LUCENE-9911
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9911
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Major
>             Fix For: main (9.0)
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> unusedExceptionParameter is a very useful check, as it detects if you catch an exception and do nothing with it at all.
> As a library, its important to preserve exceptions (e.g. chain the root cause, .addSuppressed, etc). This check helps prevent exceptions from getting swallowed inadvertently.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org