summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to '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);
}