summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cfe7c33..f713063 100644
--- a/java/test/TestH5P.java
+++ b/java/test/TestH5P.java
@@ -206,7 +206,7 @@ public class TestH5P {
assertEquals(nlinks, 20L);
}
- @Test(expected = IllegalArgumentException.class)
+ @Test(expected = HDF5FunctionArgumentException.class)
public void testH5Pset_libver_bounds_invalidlow() throws Throwable {
H5.H5Pset_libver_bounds(fapl_id, 5, HDF5Constants.H5F_LIBVER_LATEST);
}