Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2390

TraceProxy.trace should not throw InvocationTargetException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.4, 1.5.0
    • 1.4.5, 1.5.1, 1.6.0
    • trace

    Description

      In TraceProxy.trace there is the following code snippet:

              try {
                return method.invoke(instance, args);
              } catch (Throwable ex) {
                ex.printStackTrace();
                throw ex;
              }
      

      When this is an InvocationTargetException, it can really mess with the calling code's exception handling logic.

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: