summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-11-03 16:37:33 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-11-03 16:37:33 (GMT)
commit76c7a5456f1c47184266f097dee1f42012bffd44 (patch)
tree5a91a6b09df77f9011ed68892e4130eaccb9ef97 /java
parentf68c4e1478ac5e627f89c5bf045cf24e11c61cf0 (diff)
parent60ed6c0df43205de7b3cad9e3b8a115c108abdeb (diff)
downloadhdf5-76c7a5456f1c47184266f097dee1f42012bffd44.zip
hdf5-76c7a5456f1c47184266f097dee1f42012bffd44.tar.gz
hdf5-76c7a5456f1c47184266f097dee1f42012bffd44.tar.bz2
Merge remote-tracking branch 'canonical/develop' into hpcio/post_open_fix
Diffstat (limited to 'java')
-rw-r--r--java/src/hdf/hdf5lib/H5.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index 5380bd1..bbe44f7 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -12808,8 +12808,11 @@ public class H5 implements java.io.Serializable {
* IN: Field name of the field index to retrieve.
*
* @return if field is defined, the index; else negative.
+ *
+ * @exception HDF5LibraryException
+ * - Error from the HDF-5 Library.
**/
- public synchronized static native int H5Tget_member_index(long type_id, String field_name);
+ public synchronized static native int H5Tget_member_index(long type_id, String field_name) throws HDF5LibraryException;
/**
* H5Tget_member_name retrieves the name of a field of a compound datatype or an element of an enumeration datatype.
@@ -12820,8 +12823,11 @@ public class H5 implements java.io.Serializable {
* IN: Field index (0-based) of the field name to retrieve.
*
* @return a valid pointer to the name if successful; otherwise null.
+ *
+ * @exception HDF5LibraryException
+ * - Error from the HDF-5 Library.
**/
- public synchronized static native String H5Tget_member_name(long type_id, int field_idx);
+ public synchronized static native String H5Tget_member_name(long type_id, int field_idx) throws HDF5LibraryException;
/**
* H5Tget_member_offset returns the byte offset of the specified member of the compound datatype. This is the byte
@@ -12833,11 +12839,8 @@ public class H5 implements java.io.Serializable {
* IN: Field index (0-based) of the field type to retrieve.
*
* @return the offset of the member.
- *
- * @exception HDF5LibraryException
- * - Error from the HDF-5 Library.
**/
- public synchronized static native long H5Tget_member_offset(long type_id, int membno) throws HDF5LibraryException;
+ public synchronized static native long H5Tget_member_offset(long type_id, int membno);
/**
* H5Tget_member_type returns the datatype of the specified member.