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

Kevin Conner (JIRA) jira-events at lists.jboss.org
Thu Mar 12 08:03:22 EDT 2009


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)
    Affects Versions: 4.5
            Reporter: 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