Apache Solr open-source search software
- Fix to support JDK 1.2 and 1.3.
Otis Gospodnetic395b5c52d9ad
diff --git a/src/java/org/apache/lucene/store/FSDirectory.java b/src/java/org/apache/lucene/store/FSDirectory.javaindex edf6e64aa21..7077c3b3a75 100644--- a/src/java/org/apache/lucene/store/FSDirectory.java+++ b/src/java/org/apache/lucene/store/FSDirectory.java@@ -243,14 +243,14 @@ public final class FSDirectory extends Directory {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());}}}