You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/07 12:00:54 UTC

svn commit: r812068 - /commons/sandbox/runtime/trunk/src/main/native/shared/error.c

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);