summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5P.java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-03-15 19:14:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-03-15 19:14:29 (GMT)
commit692c7867ef243bfbf28c2064e6b3c09070c29175 (patch)
treeac8bc4599050fb05dd0ce5bc3fc4d7ea97eeaccd /java/test/TestH5P.java
parent3f221c1347fbce0342f7e726bf00fe577d7c4422 (diff)
downloadhdf5-692c7867ef243bfbf28c2064e6b3c09070c29175.zip
hdf5-692c7867ef243bfbf28c2064e6b3c09070c29175.tar.gz
hdf5-692c7867ef243bfbf28c2064e6b3c09070c29175.tar.bz2
Exception type changed
Diffstat (limited to 'java/test/TestH5P.java')
-rw-r--r--java/test/TestH5P.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/TestH5P.java b/java/test/TestH5P.java
index 9e45e4c..cfe7c33 100644
--- a/java/test/TestH5P.java
+++ b/java/test/TestH5P.java
@@ -211,7 +211,7 @@ public class TestH5P {
H5.H5Pset_libver_bounds(fapl_id, 5, HDF5Constants.H5F_LIBVER_LATEST);
}
- @Test(expected = IllegalArgumentException.class)
+ @Test(expected = HDF5FunctionArgumentException.class)
public void testH5Pset_libver_bounds_invalidhigh() throws Throwable {
H5.H5Pset_libver_bounds(fapl_id, HDF5Constants.H5F_LIBVER_LATEST, 5);
}