summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5pDXPLImp.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-17 18:51:45 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-17 18:51:45 (GMT)
commit385ac203806b1027b6bf83e904c4178d0eaff987 (patch)
tree74da25151de6d1e32329dfcd62e17c863e2e3de1 /java/src/jni/h5pDXPLImp.c
parent6e62be345650c38d30f14e9208fcca01dde0aef1 (diff)
parent55670c88cfa07a4fd5a884502f8bd32768f70256 (diff)
downloadhdf5-385ac203806b1027b6bf83e904c4178d0eaff987.zip
hdf5-385ac203806b1027b6bf83e904c4178d0eaff987.tar.gz
hdf5-385ac203806b1027b6bf83e904c4178d0eaff987.tar.bz2
Merge branch 'develop' of https://git.hdfgroup.org/scm/hdffv/hdf5 into develop
Diffstat (limited to 'java/src/jni/h5pDXPLImp.c')
-rw-r--r--java/src/jni/h5pDXPLImp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5pDXPLImp.c b/java/src/jni/h5pDXPLImp.c
index 323fa8c..12e3367 100644
--- a/java/src/jni/h5pDXPLImp.c
+++ b/java/src/jni/h5pDXPLImp.c
@@ -310,7 +310,7 @@ Java_hdf_hdf5lib_H5_H5Pget_1data_1transform
H5_LIBRARY_ERROR(ENVONLY);
if (NULL == (express = (char *) HDmalloc(sizeof(char) * (size_t)express_size + 1)))
- H5_JNI_FATAL_ERROR(ENVONLY, "H5Pget_data_transform: memory allocation failed");
+ H5_OUT_OF_MEMORY_ERROR(ENVONLY, "H5Pget_data_transform: memory allocation failed");
if (H5Pget_data_transform((hid_t)plist_id, express, (size_t)express_size + 1) < 0)
H5_LIBRARY_ERROR(ENVONLY);
@@ -318,7 +318,7 @@ Java_hdf_hdf5lib_H5_H5Pget_1data_1transform
if (NULL == (str = ENVPTR->NewStringUTF(ENVONLY, express))) {
CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
- H5_JNI_FATAL_ERROR(ENVONLY, "H5Pget_data_transform: out of memory - unable to construct string from UTF characters");
+ H5_OUT_OF_MEMORY_ERROR(ENVONLY, "H5Pget_data_transform: out of memory - unable to construct string from UTF characters");
}
ENVPTR->SetObjectArrayElement(ENVONLY, expression, 0, str);