[jboss-cvs] JBoss Messaging SVN: r2586 - trunk/src/main/org/jboss/jms/client/delegate.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Apr 18 13:07:43 EDT 2007
Author: timfox
Date: 2007-04-18 13:07:43 -0400 (Wed, 18 Apr 2007)
New Revision: 2586
Modified:
trunk/src/main/org/jboss/jms/client/delegate/DelegateSupport.java
Log:
Added comment as to why extra catch is necessary
Modified: trunk/src/main/org/jboss/jms/client/delegate/DelegateSupport.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/delegate/DelegateSupport.java 2007-04-18 14:10:28 UTC (rev 2585)
+++ trunk/src/main/org/jboss/jms/client/delegate/DelegateSupport.java 2007-04-18 17:07:43 UTC (rev 2586)
@@ -219,6 +219,8 @@
log.warn("Captured Exception:" + t, t);
return new MessagingNetworkFailureException((Exception)t);
}
+ //This can occur if failure happens when Client.connect() is called
+ //Ideally remoting should have a consistent API
else if (t instanceof RuntimeException)
{
RuntimeException re = (RuntimeException)t;
More information about the jboss-cvs-commits
mailing list