commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r657247 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Date Fri, 16 May 2008 23:17:05 GMT
Author: sebb
Date: Fri May 16 16:17:05 2008
New Revision: 657247

URL: http://svn.apache.org/viewvc?rev=657247&view=rev
Log:
NET-208 - TelnetInputStream swallows interruptedException as IOException
[Copy of r657221]

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java?rev=657247&r1=657246&r2=657247&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Fri May 16 16:17:05 2008
@@ -358,7 +358,7 @@
                         }
                         catch (InterruptedException e)
                         {
-                            throw new IOException("Fatal thread interruption during read.");
+                            throw new InterruptedIOException("Fatal thread interruption during
read.");
                         }
                     }
                     else



Mime
View raw message