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/10 03:56:20 UTC
[jira] Created: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Project: jelly
Assignee:
Reporter: Felipe Leme
Created: Mon, 9 Aug 2004 6:55 PM
Updated: Mon, 9 Aug 2004 6:55 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Wed, 11 Aug 2004 9:09 PM
Body:
Test cases fail after applying the patch.
I'll investigate
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37199
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:09 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Wed, 11 Aug 2004 9:23 PM
Body:
Will wait for the new patch before trying again.
Also, when you throw the JellyException, can you please use the constructor that takes a string and a Throwable so the original exception details are preserved?
Thanks.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37204
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:23 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
[jira] Closed: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
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
[jira] Updated: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following issue has been updated:
Updater: dion gillard (mailto:dion@apache.org)
Date: Wed, 11 Aug 2004 9:00 PM
Changes:
Version changed to 1.0-beta-4
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JELLY-116?page=history
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:00 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Sun, 15 Aug 2004 8:45 PM
Body:
Fixing now
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37263
---------------------------------------------------------------------
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: Sun, 15 Aug 2004 8:45 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
[jira] Updated: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following issue has been updated:
Updater: Felipe Leme (mailto:jira@felipeal.net)
Date: Wed, 11 Aug 2004 9:22 PM
Comment:
Here is the new patch.
Sorry for the missing files - I didn't do a recursive patch because of JELLY-115 (i.e., my cvs repository has 2 issues patched)
Changes:
Attachment changed to JELLY-116-missing.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JELLY-116?page=history
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:22 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
[jira] Updated: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following issue has been updated:
Updater: Felipe Leme (mailto:jira@felipeal.net)
Date: Mon, 9 Aug 2004 7:06 PM
Comment:
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 site:generate
Changes:
Attachment changed to JELLY-116.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JELLY-116?page=history
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Project: jelly
Assignee:
Reporter: Felipe Leme
Created: Mon, 9 Aug 2004 6:55 PM
Updated: Mon, 9 Aug 2004 7:06 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: Felipe Leme
Created: Wed, 11 Aug 2004 9:18 PM
Body:
Hmm, let me create a new patch then...
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37201
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:18 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
[jira] Updated: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following issue has been updated:
Updater: Felipe Leme (mailto:jira@felipeal.net)
Date: Wed, 11 Aug 2004 9:49 PM
Comment:
Here is the change you've requested - preserving the original exception.
Changes:
Attachment changed to JELLY-116-after-closed.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JELLY-116?page=history
---------------------------------------------------------------------
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:49 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
[jira] Assigned: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
Message:
The following issue has been re-assigned.
Assignee: dion gillard (mailto:dion@apache.org)
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:00 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: Felipe Leme
Created: Sun, 15 Aug 2004 8:31 PM
Body:
Sorry, my bad, I used the wrong casts.
Yes, Throwable.getCause() is JDK 1.4, but I'm using InvocationTarget.getTargetMessage() instead:
http://java.sun.com/j2se/1.3/docs/api/java/lang/reflect/InvocationTargetException.html
I mean, there is also a call to jellyException.getCause(), but JellyException defines it indenpendently on the JDK version.
Anyway, I've just ran maven on it using JDK 1.3.1, and it worked fine. It's just a matter of modifying the test cases, changing the following line:
from:
Exception jellyException = (Exception) getJellyContext().getVariable("jellyException");
to:
JellyException jellyException = (JellyException) getJellyContext().getVariable("jellyException");
And also adding a
import org.apache.commons.jelly.JellyException;
(Sorry, I'm not with CVS set up right now to send you a patch)
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37262
---------------------------------------------------------------------
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: Sun, 15 Aug 2004 8:31 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Sun, 15 Aug 2004 6:58 PM
Body:
This patch appears to be a JDK 1.4 specific one.
It uses Throwable.getCause() which was introduced in jdk 1.4
I'm commenting those lines out for now.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37261
---------------------------------------------------------------------
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: Sun, 15 Aug 2004 6:58 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
[jira] Commented: (JELLY-116) [PATCH] InvokeTag and InvokeStaticTag should export exception
Posted by co...@jakarta.apache.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Wed, 11 Aug 2004 9:14 PM
Body:
The patch was missing changes to testInvokeStaticTag.jelly and others
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-116?page=comments#action_37200
---------------------------------------------------------------------
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: Open
Priority: Major
Project: jelly
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:14 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