summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-03-10 15:30:22 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-03-10 15:30:22 +0000
commita440c22d4d9778e577a89999a50031bdaaa28404 (patch)
tree7586099349adb3497153d3f0953029c600057dd5 /src
parentf2bc4572f4b2a6ccf62153c8fd513cb7a1a591ad (diff)
downloadjackcess-a440c22d4d9778e577a89999a50031bdaaa28404.tar.gz
jackcess-a440c22d4d9778e577a89999a50031bdaaa28404.zip
add additional diagnostic info on failures
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@260 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src')
-rw-r--r--src/java/com/healthmarketscience/jackcess/UsageMap.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/UsageMap.java b/src/java/com/healthmarketscience/jackcess/UsageMap.java
index a6b81ad..551c8a5 100644
--- a/src/java/com/healthmarketscience/jackcess/UsageMap.java
+++ b/src/java/com/healthmarketscience/jackcess/UsageMap.java
@@ -325,7 +325,8 @@ public class UsageMap
if(isOn == add) {
throw new IOException("Page number " + absolutePageNumber + " already " +
((add) ? "added to" : "removed from") +
- " usage map");
+ " usage map, expected range " +
+ _startPage + " to " + _endPage);
}
//Apply the bitmask