fix msg in exc

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-08-25 11:03:00 +00:00
parent 481043e0c5
commit 264ad4f440
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ public class MockDirectoryWrapper extends Directory {
cause = stacktraces.next();
// RuntimeException instead of IOException because
// super() does not throw IOException currently:
throw new RuntimeException("MockRAMDirectory: cannot close: there are still open files: " + openFiles, cause);
throw new RuntimeException("MockDirectoryWrapper: cannot close: there are still open files: " + openFiles, cause);
}
open = false;
delegate.close();