[esb-issues] [JBoss JIRA] Assigned: (JBESB-2464) MessageImpl copy() method eats exceptions

Kevin Conner (JIRA) jira-events at lists.jboss.org
Thu Jun 18 11:23:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBESB-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Conner reassigned JBESB-2464:
-----------------------------------

    Assignee: Kevin Conner


> MessageImpl copy() method eats exceptions
> -----------------------------------------
>
>                 Key: JBESB-2464
>                 URL: https://jira.jboss.org/jira/browse/JBESB-2464
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rosetta
>    Affects Versions: 4.5
>            Reporter: Kevin Conner
>            Assignee: Kevin Conner
>             Fix For: 4.6
>
>
> The copy() method in *both* MessageImpl classes eats the exception on failure.
> The methods trap Exception and translate it into the following
>     throw new IOException(ex.toString());
> This should be something like
>     throw new IOException("Unexpected exception during copying", ex) ;
> so that the original cause of the exception is not lost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list