< prev index next >

src/java.base/share/native/libjava/jni_util.h

Print this page
rev 52387 : 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

*** 110,119 **** --- 110,125 ---- */ JNIEXPORT void JNICALL JNU_ThrowByNameWithMessageAndLastError (JNIEnv *env, const char *name, const char *message); + /* helper with 2 message strings, uses JNU_ThrowByNameWithMessageAndLastError */ + JNIEXPORT void JNICALL + JNU_ThrowByNameWithTwoMessagesAndLastError + (JNIEnv *env, const char *name, const char *message1, const char *message2); + + /* Throw an IOException, using the last-error string for the detail * string. If the last-error string is NULL, use the given default * detail string. */ JNIEXPORT void JNICALL
< prev index next >