Author: ron.sigal(a)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);
}
Show replies by date