|
|
@ -21,7 +21,7 @@ void throwException(JNIEnv * env, const char* message) { |
|
|
|
*/ |
|
|
|
void throwExceptionByErrorCode(JNIEnv* env, GENAPIC_RESULT ret) { |
|
|
|
char msg[128]; |
|
|
|
sprintf_s(msg, "error : %ld", ret); |
|
|
|
sprintf(msg, "error : %ld", ret); |
|
|
|
throwException(env, msg); |
|
|
|
} |
|
|
|
|
|
|
|