diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-05-22 13:26:41 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-05-22 13:26:41 -0700 |
commit | 9730c27ff9926df98ae3b41617a2a5bf10a14ca9 (patch) | |
tree | bb779ab906fc6eb637211b37e7f379ad0e809e19 /java/src/IceInternal/TcpTransceiver.java | |
parent | Fix #2 for bug 3224 - Fixed bogus absolute paths from headers generated by sl... (diff) | |
download | ice-9730c27ff9926df98ae3b41617a2a5bf10a14ca9.tar.bz2 ice-9730c27ff9926df98ae3b41617a2a5bf10a14ca9.tar.xz ice-9730c27ff9926df98ae3b41617a2a5bf10a14ca9.zip |
bug 3179 - improved error handling in IceJ, IceJE
Diffstat (limited to 'java/src/IceInternal/TcpTransceiver.java')
-rw-r--r-- | java/src/IceInternal/TcpTransceiver.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/java/src/IceInternal/TcpTransceiver.java b/java/src/IceInternal/TcpTransceiver.java index 548f2c3a94b..d258ac02825 100644 --- a/java/src/IceInternal/TcpTransceiver.java +++ b/java/src/IceInternal/TcpTransceiver.java @@ -198,14 +198,7 @@ final class TcpTransceiver implements Transceiver } catch(java.io.IOException ex) { - if(Network.connectionLost(ex)) - { - Ice.ConnectionLostException se = new Ice.ConnectionLostException(); - se.initCause(ex); - throw se; - } - - Ice.SocketException se = new Ice.SocketException(); + Ice.ConnectionLostException se = new Ice.ConnectionLostException(); se.initCause(ex); throw se; } |