You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2002/08/09 13:38:58 UTC

cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient ResponseInputStream.java

jsdever     2002/08/09 04:38:58

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        ResponseInputStream.java
  Log:
  Put fillBuffer throwable message in thrown IOException.
  
  Revision  Changes    Path
  1.18      +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ResponseInputStream.java
  
  Index: ResponseInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ResponseInputStream.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ResponseInputStream.java	30 Jul 2002 03:01:47 -0000	1.17
  +++ ResponseInputStream.java	9 Aug 2002 11:38:58 -0000	1.18
  @@ -397,7 +397,7 @@
                   count += length;
               } catch (Throwable t) {
                   log.debug("Exception thrown reading from response", t);
  -                throw new IOException();
  +                throw new IOException(t.getMessage());
               }
   
           }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>