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 Mon, 03 Mar 2003 20:46:50 GMT
otis        2003/03/03 12:46:50

  Modified:    src/java/org/apache/lucene/store FSDirectory.java
  Log:
  - Added code to throw RuntimeException when output stream cannot be closed.
  
  Revision  Changes    Path
  1.15      +1 -1      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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- FSDirectory.java	1 Mar 2003 17:38:24 -0000	1.14
  +++ FSDirectory.java	3 Mar 2003 20:46:50 -0000	1.15
  @@ -250,7 +250,7 @@
             try {
               out.close();
   	  } catch (IOException e) {
  -            // what can we do?
  +            throw new RuntimeException("could not close output stream", e);
   	  }
           }
         }
  
  
  

---------------------------------------------------------------------
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