lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6877) eclipse generated try/catch discards exception
Date Mon, 02 Nov 2015 18:45:27 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985728#comment-14985728
] 

Adrien Grand commented on LUCENE-6877:
--------------------------------------

+1!

> eclipse generated try/catch discards exception
> ----------------------------------------------
>
>                 Key: LUCENE-6877
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6877
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-6877.patch
>
>
> The (horrible) eclipse default is something like this:
> {noformat}
> // TODO: autogenerated stub
> e.printStackTrace();
> {noformat}
> The current eclipse config does this, which is better, but loses the original exc:
> {noformat}
> throw new RuntimeException()
> {noformat}
> But it should be:
> {noformat}
> throw new RuntimeException(${exception_var})
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message