| 73 | } |
| 74 | |
| 75 | int jnixThrowExceptionV(JNIEnv *env, |
| 76 | const char *class_name, |
| 77 | const char *fmt, va_list ap) |
| 78 | { |
| 79 | int sz = 1024; |
| 80 | |
| 81 | do |
| 82 | { |
| 83 | #ifdef WIN32 |
| 84 | jnixThrowExceptionInternal(&sz,env,class_name,fmt,ap); |
| 85 | #else |
| 86 | va_list aq; |
| 87 | va_copy(aq,ap); |
| 88 | jnixThrowExceptionInternal(&sz,env,class_name,fmt,aq); |
| 89 | va_end(aq); |
| 90 | #endif |
| 91 | } |
| 92 | while (sz); |
| 93 | |
| 94 | return -1; |
| 95 | } |
| 96 | |
| 97 | |
| 98 | static void jnixThrowExceptionInternalI(int *sz, |
nothing calls this directly
no test coverage detected