summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2006-07-26 14:41:32 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2006-07-26 14:41:32 +0000
commit8ac2bfbce9482c046749ddb2799248fae8323e8e (patch)
treecd6c69c9d86ccad02f86f3bce4e79525c2854acc /test
parenta2d427b84c8876943f022bbedce7645e5481d4d3 (diff)
downloadjackcess-8ac2bfbce9482c046749ddb2799248fae8323e8e.tar.gz
jackcess-8ac2bfbce9482c046749ddb2799248fae8323e8e.zip
fix compressed text handling; wrap arithmetic exceptions with ioexceptions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@74 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
index adde151..f22edcb 100644
--- a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
@@ -321,8 +321,8 @@ public class DatabaseTest extends TestCase {
try {
table.addRow(new BigDecimal("342523234145343543.3453"));
- fail("ArithmeticException should have been thrown");
- } catch(ArithmeticException e) {
+ fail("IOException should have been thrown");
+ } catch(IOException e) {
// ignored
}
}