You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ji...@codehaus.org on 2003/09/04 23:37:26 UTC

[jira] Updated: (JELLY-61) InvocationTargetExceptions not unwrapped by DynamicBeanTag

The following issue has been updated:

    Updater: Morgan Delagrange (mailto:mdelagra@yahoo.com)
       Date: Thu, 4 Sep 2003 4:36 PM
    Changes:
             Component changed to core / taglib.core
             Component changed from tags
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-61&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-61


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-61
    Summary: InvocationTargetExceptions not unwrapped by DynamicBeanTag
       Type: Bug

     Status: Reopened
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: jelly
 Components: 
             core / taglib.core

   Assignee: peter royal
   Reporter: Brian Ewins

    Created: Thu, 17 Jul 2003 3:14 PM
    Updated: Thu, 4 Sep 2003 4:36 PM
Environment: all

Description:
In org.apache.commons.jelly.impl.DynamicBeanTag.doTag(), there is a typo that is preventing clients seeing the correct exception:

catch (InvocationTargetException e) {
  // methodInvocationError(bean, method, e);
  Throwable inner = e.getTargetException();
  throw new JellyTagException(e);
}

should read:
catch (InvocationTargetException e) {
  // methodInvocationError(bean, method, e);
  Throwable inner = e.getTargetException();
  throw new JellyTagException(inner);
}

(typo is on the last line)


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

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

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