summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/hdf5lib
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-03-13 22:21:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-03-13 22:21:10 (GMT)
commitb5867a05a7adf5d1c89721bf42a5bbaddb47dbd9 (patch)
tree3e5e1e7e0703cf29b831d9ed96e9b2a57e262f53 /java/src/hdf/hdf5lib
parent9247388c3d14510341ea3f07847ce2cbb6e44a8e (diff)
downloadhdf5-b5867a05a7adf5d1c89721bf42a5bbaddb47dbd9.zip
hdf5-b5867a05a7adf5d1c89721bf42a5bbaddb47dbd9.tar.gz
hdf5-b5867a05a7adf5d1c89721bf42a5bbaddb47dbd9.tar.bz2
HDFFV-10412 add error on function for Java
Diffstat (limited to 'java/src/hdf/hdf5lib')
-rw-r--r--java/src/hdf/hdf5lib/H5.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index 20aa634..9d1aed1 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -424,7 +424,7 @@ public class H5 implements java.io.Serializable {
private synchronized static native int H5dont_atexit() throws HDF5LibraryException;
/**
- * Turn off error handling By default, the C library prints the error stack of the HDF-5 C library on stdout. This
+ * Turn off error handling. By default, the C library prints the error stack of the HDF-5 C library on stdout. This
* behavior may be disabled by calling H5error_off().
*
* @return a non-negative value if successful
@@ -432,6 +432,12 @@ public class H5 implements java.io.Serializable {
public synchronized static native int H5error_off();
/**
+ * Turn on error handling. By default, the C library prints the error stack of the HDF-5 C library on stdout. This
+ * behavior may be reenabled by calling H5error_on().
+ */
+ public synchronized static native void H5error_on();
+
+ /**
* H5garbage_collect collects on all free-lists of all types.
*
* @return a non-negative value if successful