You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by im...@apache.org on 2004/06/15 22:17:16 UTC

cvs commit: jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider DefaultURLConnection.java

imario      2004/06/15 13:17:16

  Modified:    vfs/src/java/org/apache/commons/vfs/provider
                        DefaultURLConnection.java
  Log:
  avoid jdk1.4 dependency
  
  Revision  Changes    Path
  1.12      +2 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/DefaultURLConnection.java
  
  Index: DefaultURLConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/DefaultURLConnection.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DefaultURLConnection.java	21 May 2004 20:43:21 -0000	1.11
  +++ DefaultURLConnection.java	15 Jun 2004 20:17:16 -0000	1.12
  @@ -80,7 +80,7 @@
           }
           catch (FileSystemException e)
           {
  -            throw new RuntimeException(e);
  +            throw new RuntimeException(e.getMessage());
           }
       }
   
  @@ -92,7 +92,7 @@
           }
           catch (FileSystemException e)
           {
  -            throw new RuntimeException(e);
  +            throw new RuntimeException(e.getMessage());
           }
       }
   
  
  
  

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