Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2710

Lite Extension Translator exceptions don't preserve cause

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 5.0.0.Final
    • 5.x
    • Extensions
    • None
      1. Create a build compatible extension
      2. Throw an exception from one of the methods
      3. Look at the resulting message and stack trace

      Exceptions generated by LiteExtensionTranslatorLogger  do not include a cause.

      This is particularly a problem if the user's method threw an exception as that exception will not appear in the stack trace.

      I also note that unableToInvokeExtensionMethod is passed the .toString of the exception. However, the exception will usually be a java.lang.reflect.InvocationTargetException which has a cause but contains no useful information in its message.

              Unassigned Unassigned
              azquelt Andrew Rouse (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: