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] [Created] (ACCUMULO-2390) TraceProxy.trace should not throw InvocationTargetException
Date Fri, 21 Feb 2014 18:33:19 GMT
Mike Drob created ACCUMULO-2390:
-----------------------------------

             Summary: 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
            Reporter: Mike Drob
            Assignee: Mike Drob


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.1.5#6160)

Mime
View raw message