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/07/17 22:15:50 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: jelly
 Components: 
             tags

   Assignee: 
   Reporter: Brian Ewins

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