commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwins...@apache.org
Subject svn commit: r925727 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
Date Sun, 21 Mar 2010 04:13:09 GMT
Author: rwinston
Date: Sun Mar 21 04:13:09 2010
New Revision: 925727

URL: http://svn.apache.org/viewvc?rev=925727&view=rev
Log:
No nested IOException ctors in 1.5

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java?rev=925727&r1=925726&r2=925727&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
Sun Mar 21 04:13:09 2010
@@ -89,7 +89,7 @@ public class FTPHTTPClient extends FTPCl
             tunnelHandshake(host, port, _input_, _output_);
         }
         catch (Exception e) {
-            throw new IOException(e);
+            throw new IOException("Could not connect to " + host, e);
         }
     }
 



Mime
View raw message