[jboss-svn-commits] JBL Code SVN: r18800 - labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/rosetta/src/org/jboss/soa/esb/client.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Mar 10 09:57:26 EDT 2008


Author: mark.little at jboss.com
Date: 2008-03-10 09:57:25 -0400 (Mon, 10 Mar 2008)
New Revision: 18800

Modified:
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/rosetta/src/org/jboss/soa/esb/client/ServiceInvoker.java
Log:
http://jira.jboss.com/jira/browse/JBESB-1564

Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/rosetta/src/org/jboss/soa/esb/client/ServiceInvoker.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/rosetta/src/org/jboss/soa/esb/client/ServiceInvoker.java	2008-03-10 13:53:14 UTC (rev 18799)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/rosetta/src/org/jboss/soa/esb/client/ServiceInvoker.java	2008-03-10 13:57:25 UTC (rev 18800)
@@ -545,7 +545,7 @@
                 } catch (final CourierMarshalUnmarshalException e) {
                     logger.warn("Courier indicated (un)marshal related error "+e+" during delivery to EPR [" + targetEPR + "] for Service [" + service + "] and Message ["+message.getHeader()+"]. " + e.getMessage());
                     
-                    throw new MessageDeliverException("Caught (un)marshal related exception during attempted send/receive: "+e);
+                    throw new MessageDeliverException("Caught (un)marshal related exception during attempted send/receive.", e);
                 } catch (final CourierTransportException e) {
                     // meant to be masked by the SI fail-over
                     
@@ -564,7 +564,7 @@
                     
                     // we don't know what state we're in so better to bail-out now!
                     
-                    throw new MessageDeliverException("Caught unexpected throwable during send. Bailing-out! "+t);
+                    throw new MessageDeliverException("Caught unexpected throwable during send. Bailing-out!", t);
                 } finally {
                     // TODO: So does this mean that Couriers are stateful?  If so, do we need to synchronize on using them??
                     CourierUtil.cleanCourier(courier);




More information about the jboss-svn-commits mailing list