Robert Muir created LUCENE-9911:
-----------------------------------

             Summary: enable ecjLint unusedExceptionParameter
                 Key: LUCENE-9911
                 URL: https://issues.apache.org/jira/browse/LUCENE-9911
             Project: Lucene - Core
          Issue Type: Task
            Reporter: Robert Muir


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to