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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]