lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/store FSDirectory.java
Date Wed, 19 Mar 2003 03:20:53 GMT
otis        2003/03/18 19:20:53

  Modified:    src/java/org/apache/lucene/store FSDirectory.java
  Log:
  - Fix to support JDK 1.2 and 1.3.
  
  Revision  Changes    Path
  1.17      +2 -2      jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
  
  Index: FSDirectory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- FSDirectory.java	3 Mar 2003 20:58:25 -0000	1.16
  +++ FSDirectory.java	19 Mar 2003 03:20:53 -0000	1.17
  @@ -243,14 +243,14 @@
             try {
               in.close();
             } catch (IOException e) {
  -            throw new RuntimeException("could not close input stream", e);
  +            throw new RuntimeException("could not close input stream: " + e.getMessage());
             }
           }
           if (out != null) {
             try {
               out.close();
             } catch (IOException e) {
  -            throw new RuntimeException("could not close output stream", e);
  +            throw new RuntimeException("could not close output stream: " + e.getMessage());
             }
           }
         }
  
  
  

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


Mime
View raw message