[jboss-remoting-commits] JBoss Remoting SVN: r4076 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Apr 25 03:21:20 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-04-25 03:21:20 -0400 (Fri, 25 Apr 2008)
New Revision: 4076

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java
Log:
JBREM-955: Wraps InterruptedException in a RuntimeException.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java	2008-04-25 07:20:36 UTC (rev 4075)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java	2008-04-25 07:21:20 UTC (rev 4076)
@@ -130,6 +130,12 @@
          throw new InvocationFailureException(message, ex);
       }
 
+      if (ex instanceof InterruptedException)
+      {
+         log.debug(this, ex);
+         throw new RuntimeException(ex);
+      }
+      
       throw new InvocationFailureException("Unable to perform invocation", ex);
    }
 




More information about the jboss-remoting-commits mailing list