commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeri...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpMultiClient.java
Date Mon, 23 Sep 2002 07:01:52 GMT
jericho     2002/09/23 00:01:52

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpMultiClient.java
  Log:
  - Remove "HttpMultiClient Catches IOException Twice"
  
  Patched by "Adrian Sutton" <adrian.sutton@ephox.com>
  Thank you.
  
  Revision  Changes    Path
  1.16      +4 -6      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMultiClient.java
  
  Index: HttpMultiClient.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMultiClient.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- HttpMultiClient.java	2 Sep 2002 14:52:48 -0000	1.15
  +++ HttpMultiClient.java	23 Sep 2002 07:01:52 -0000	1.16
  @@ -313,9 +313,7 @@
           try {
               status = method.execute(getState(), connection);
           } catch (IOException ex) {
  -            throw ex;
  -        } catch (HttpException ex) {
  -            throw ex;
  +            throw ex; // it might be IOException or HttpException instance.
           } finally {
               mgr.releaseConnection(connection);
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message