From 395b5c52d9ad1a1d3470344fee5918a3f8d72d4c Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Wed, 19 Mar 2003 03:20:53 +0000 Subject: [PATCH] - 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 --- src/java/org/apache/lucene/store/FSDirectory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/lucene/store/FSDirectory.java b/src/java/org/apache/lucene/store/FSDirectory.java index 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()); } } }