commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r812068 - /commons/sandbox/runtime/trunk/src/main/native/shared/error.c
Date Mon, 07 Sep 2009 10:00:54 GMT
Author: mturk
Date: Mon Sep  7 10:00:53 2009
New Revision: 812068

URL: http://svn.apache.org/viewvc?rev=812068&view=rev
Log:
Print correct message

Modified:
    commons/sandbox/runtime/trunk/src/main/native/shared/error.c

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/error.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/error.c?rev=812068&r1=812067&r2=812068&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/error.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/error.c Mon Sep  7 10:00:53 2009
@@ -59,7 +59,8 @@
         env = ACR_GetJNIEnv();
     if (IS_INVALID_HANDLE(env)) {
 #ifdef DEBUG
-        fprintf(stderr, "[ERROR]  Class '%s'\n", clazz);
+        fprintf(stderr, "[ERROR]  JNI Environment is invalid or unavailable.\n");
+        fprintf(stderr, "[ERROR]  Throwing class '%s'\n", clazz);
         if (msg)
             fprintf(stderr, "[ERROR]  %s\n", msg);
         fflush(stderr);



Mime
View raw message