summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5Edefault.java
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2019-02-14 20:42:15 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2019-02-14 20:42:15 (GMT)
commite32b2b08c996c940f16c905eb7a92d5310aa9e88 (patch)
tree071fde9e228c1bb4574bf1606b134677631b793e /java/test/TestH5Edefault.java
parent0527ced1c7eb3f7ae8f43c0c705a1cb73539bd35 (diff)
parent35f48aac5b2e10d6c3e2b3176bbde6aad209c758 (diff)
downloadhdf5-e32b2b08c996c940f16c905eb7a92d5310aa9e88.zip
hdf5-e32b2b08c996c940f16c905eb7a92d5310aa9e88.tar.gz
hdf5-e32b2b08c996c940f16c905eb7a92d5310aa9e88.tar.bz2
Merge pull request #1545 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit '35f48aac5b2e10d6c3e2b3176bbde6aad209c758': Re-write of Java JNI error handling
Diffstat (limited to 'java/test/TestH5Edefault.java')
-rw-r--r--java/test/TestH5Edefault.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/TestH5Edefault.java b/java/test/TestH5Edefault.java
index b510936..076d313 100644
--- a/java/test/TestH5Edefault.java
+++ b/java/test/TestH5Edefault.java
@@ -239,7 +239,7 @@ public class TestH5Edefault {
H5.H5Eget_class_name(-1);
}
- @Test(expected = IllegalArgumentException.class)
+ @Test(expected = HDF5LibraryException.class)
public void testH5Eget_class_name_invalid_classname() throws Throwable {
H5.H5Eget_class_name(HDF5Constants.H5E_DEFAULT);
}