- Fix to support JDK 1.2 and 1.3.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2003-03-19 03:20:53 +00:00
parent ab87c3ccd9
commit 395b5c52d9
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}
}
}