accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2390) TraceProxy.trace should not throw InvocationTargetException
Date Thu, 06 Mar 2014 14:50:44 GMT

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

Mike Drob updated ACCUMULO-2390:
--------------------------------

    Labels: logging  (was: )

> TraceProxy.trace should not throw InvocationTargetException
> -----------------------------------------------------------
>
>                 Key: ACCUMULO-2390
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2390
>             Project: Accumulo
>          Issue Type: Bug
>          Components: trace
>    Affects Versions: 1.4.4, 1.5.0
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>              Labels: logging
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>
> In {{TraceProxy.trace}} there is the following code snippet:
> {code}
>         try {
>           return method.invoke(instance, args);
>         } catch (Throwable ex) {
>           ex.printStackTrace();
>           throw ex;
>         }
> {code}
> When this is an InvocationTargetException, it can really mess with the calling code's
exception handling logic.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message