mirror of https://github.com/apache/lucene.git
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:
parent
481043e0c5
commit
264ad4f440
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue