commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Updated: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Date Tue, 10 Aug 2004 02:07:20 GMT
The following issue has been updated:

    Updater: Felipe Leme (
       Date: Mon, 9 Aug 2004 7:06 PM
Here is the patch and a snippet of the maven test:

    [junit] Running org.apache.commons.jelly.core.TestInvokeStaticTag
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.896 sec
    [junit] Running org.apache.commons.jelly.core.TestInvokeTag
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 3.146 sec

Note that I'm not sure if the tags.html has been updated correctly - I couldn't run maven
             Attachment changed to JELLY-116.patch
For a full history of the issue, see:

View the issue:

Here is an overview of the issue:
        Key: JELLY-116
    Summary: [PATCH] InvokeTag and InvokeStaticTag should export exception
       Type: New Feature

     Status: Unassigned
   Priority: Major

    Project: jelly

   Reporter: Felipe Leme

    Created: Mon, 9 Aug 2004 6:55 PM
    Updated: Mon, 9 Aug 2004 7:06 PM

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).

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message