diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-08-06 14:23:21 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-08-06 14:23:21 (GMT) |
commit | 2f4832fe09e85d8ef083c50caa9b50913cdb5400 (patch) | |
tree | b6bf4530c73e99918cb0c8bd6b3e9633f9897bd6 /java/src/jni/exceptionImp.c | |
parent | ca7d4f85a5054fc406e62ccb009169e139f0105c (diff) | |
download | hdf5-2f4832fe09e85d8ef083c50caa9b50913cdb5400.zip hdf5-2f4832fe09e85d8ef083c50caa9b50913cdb5400.tar.gz hdf5-2f4832fe09e85d8ef083c50caa9b50913cdb5400.tar.bz2 |
HDFFV-10544 add class name to error text
Diffstat (limited to 'java/src/jni/exceptionImp.c')
-rw-r--r-- | java/src/jni/exceptionImp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/exceptionImp.c b/java/src/jni/exceptionImp.c index e122eb2..69f8dde 100644 --- a/java/src/jni/exceptionImp.c +++ b/java/src/jni/exceptionImp.c @@ -88,7 +88,7 @@ typedef struct H5E_num_t { } \ ex = ENVPTR->NewObjectA (ENVPAR jc, jm, (jvalue*)(args)); \ if (ex == NULL) { \ - printf("FATAL ERROR: Creation failed\n"); \ + printf("FATAL ERROR: %s: Creation failed\n", (className)); \ return JNI_FALSE; \ } \ if (ENVPTR->Throw(ENVPAR (jthrowable)ex) < 0) { \ |