You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/08/12 06:28:20 UTC

[jira] Closed: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Wed, 11 Aug 2004 9:27 PM

Fixed with minor changes
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-116

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

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: jelly
   Fix Fors:
             1.0-beta-4
   Versions:
             1.0-beta-4

   Assignee: dion gillard
   Reporter: Felipe Leme

    Created: Mon, 9 Aug 2004 6:55 PM
    Updated: Wed, 11 Aug 2004 9:27 PM

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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org