You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2012/02/07 00:16:41 UTC
svn commit: r1241254 -
/river/jtsk/trunk/src/com/sun/jini/jeri/internal/mux/Session.java
Author: peter_firmstone
Date: Mon Feb 6 23:16:41 2012
New Revision: 1241254
URL: http://svn.apache.org/viewvc?rev=1241254&view=rev
Log:
Propagate the cause of the interrupt. - very minor change to assist service developers during debugging.
Modified:
river/jtsk/trunk/src/com/sun/jini/jeri/internal/mux/Session.java
Modified: river/jtsk/trunk/src/com/sun/jini/jeri/internal/mux/Session.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/src/com/sun/jini/jeri/internal/mux/Session.java?rev=1241254&r1=1241253&r2=1241254&view=diff
==============================================================================
--- river/jtsk/trunk/src/com/sun/jini/jeri/internal/mux/Session.java (original)
+++ river/jtsk/trunk/src/com/sun/jini/jeri/internal/mux/Session.java Mon Feb 6 23:16:41 2012
@@ -830,7 +830,8 @@ final class Session {
} catch (InterruptedException e) {
String message = "request I/O interrupted";
setDown(message, e);
- IOException ioe = new IOException(message);
+ Throwable t = e.fillInStackTrace();
+ IOException ioe = new IOException(message, t);
ioe.initCause(e);
throw ioe;
}