diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2021-01-17 23:32:53 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2021-01-17 23:32:53 +0000 |
commit | 23f397f625ca3b0412005641d1ae2c00a6863e53 (patch) | |
tree | da3a1ee5bbb7a9e34c63c3778cb1e4c6c57401e0 /src/test/java/com | |
parent | 08d31ee46e521a7231f70d17a5f9b33d75f3af2a (diff) | |
download | jackcess-23f397f625ca3b0412005641d1ae2c00a6863e53.tar.gz jackcess-23f397f625ca3b0412005641d1ae2c00a6863e53.zip |
isolate java.sql usage so that the module is not required for core jackcess usage
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/modules@1350 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java b/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java index 9257e5e..19d95f0 100644 --- a/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java +++ b/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java @@ -6,7 +6,6 @@ import java.io.InputStream; import java.nio.charset.Charset; import java.nio.channels.FileChannel; import java.nio.channels.NonWritableChannelException; -import java.sql.SQLException; import java.util.ArrayList; import java.util.EnumSet; import java.util.List; @@ -14,6 +13,7 @@ import java.util.Set; import com.healthmarketscience.jackcess.DataType; import com.healthmarketscience.jackcess.Database; +import com.healthmarketscience.jackcess.JackcessException; import static com.healthmarketscience.jackcess.Database.*; import com.healthmarketscience.jackcess.DatabaseBuilder; import com.healthmarketscience.jackcess.PropertyMap; @@ -292,7 +292,7 @@ public class JetFormatTest extends TestCase { Integer sqlType = null; try { sqlType = dt.getSQLType(); - } catch(SQLException ignored) {} + } catch(JackcessException ignored) {} if(sqlType != null) { assertEquals(dt, DataType.fromSQLType(sqlType)); |