From 764c3640b29cc2ec0de65c85ed8464f0211240b3 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 18 Oct 2010 20:48:34 +0400 Subject: [PATCH] diagnostics --- platform/util/src/com/intellij/util/io/PagedFileStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/util/io/PagedFileStorage.java b/platform/util/src/com/intellij/util/io/PagedFileStorage.java index 8b69778d3fe2..89e2f0ba6b71 100644 --- a/platform/util/src/com/intellij/util/io/PagedFileStorage.java +++ b/platform/util/src/com/intellij/util/io/PagedFileStorage.java @@ -56,7 +56,7 @@ public class PagedFileStorage implements Forceable { int off = key.page * BUFFER_SIZE; if (off > key.owner.length()) { - throw new IndexOutOfBoundsException(); + throw new IndexOutOfBoundsException("off=" + off + " key.owner.length()=" + key.owner.length()); } return new ReadWriteMappedBufferWrapper(key.owner.myFile, off, Math.min((int)(key.owner.length() - off), BUFFER_SIZE)); }