aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-25 18:30:41 +0100
committerSven Gothel <[email protected]>2021-01-25 18:30:41 +0100
commitee0aed19a2d308a422d486690e54734167fcdc4e (patch)
tree396bf563ec9d5cc4dfc4f4443c4fafdb8e70c31a
parent88dda4d6c0c5ad84b8f029ca49bf55c3d4eef9ec (diff)
jau::java_exception_check_and_throw: Remove '@ %s : %d', this is a std::string ;-)v0.2.20
-rw-r--r--java_jni/jni/helper_jni.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java_jni/jni/helper_jni.cxx b/java_jni/jni/helper_jni.cxx
index e083f8b..15d509f 100644
--- a/java_jni/jni/helper_jni.cxx
+++ b/java_jni/jni/helper_jni.cxx
@@ -77,7 +77,7 @@ void jau::java_exception_check_and_throw(JNIEnv *env, const char* file, int line
std::string msg = from_jstring_to_string(env, jmsg);
fprintf(stderr, "Java exception occurred @ %s:%d and forward to Native: %s\n", file, line, msg.c_str()); fflush(stderr);
- throw jau::RuntimeException("Java exception occurred @ %s : %d: "+msg, file, line);
+ throw jau::RuntimeException("Java exception occurred: "+msg, file, line);
}
}