Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-116

[PATCH] InvokeTag and InvokeStaticTag should export exception

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-4
    • Fix Version/s: 1.0-beta-4
    • Component/s: None
    • Labels:
      None

      Description

      If the method invoked throws a InvocationTargetException, invoke and invokeStatic should allow the caller to obtain the original exception.

      So, I'm providing a patch (including test cases) that export that exception if the exceptionVar paramater is set (and in this case, it does not throw a JellyTagException). If that parameter is not set, it assumes the old behaviour (i.e., throws a JellyTagException).

        Attachments

        1. JELLY-116.patch
          10 kB
          Felipe Leme
        2. JELLY-116-missing.patch
          3 kB
          Felipe Leme
        3. JELLY-116-after-closed.patch
          4 kB
          Felipe Leme

          Activity

            People

            • Assignee:
              diongillard dion gillard
              Reporter:
              felipeal Felipe Leme
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: