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

[PATCH] InvokeTag and InvokeStaticTag should export exception

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-4
    • 1.0-beta-4
    • None
    • 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-after-closed.patch
          4 kB
          Felipe Leme
        3. JELLY-116-missing.patch
          3 kB
          Felipe Leme

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: