commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Closed: (JELLY-61) InvocationTargetExceptions not unwrapped by DynamicBeanTag
Date Mon, 28 Jul 2003 00:51:23 GMT
Message:

   The following issue has been closed.

   Resolver: peter royal
       Date: Sun, 27 Jul 2003 7:50 PM

applied, thanks! please cross-check.
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: jelly
 Components: 
             tags

   Assignee: peter royal
   Reporter: Brian Ewins

    Created: Thu, 17 Jul 2003 3:14 PM
    Updated: Sun, 27 Jul 2003 7:50 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


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


Mime
View raw message