commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r803241 - in /commons/sandbox/runtime/trunk/src/main/native: include/acr_error.h shared/error.c
Date Tue, 11 Aug 2009 18:37:32 GMT
Author: mturk
Date: Tue Aug 11 18:37:32 2009
New Revision: 803241

URL: http://svn.apache.org/viewvc?rev=803241&view=rev
Log:
Add EILSEQ error code

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

Modified: commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h?rev=803241&r1=803240&r2=803241&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h Tue Aug 11 18:37:32
2009
@@ -498,6 +498,7 @@
 #define ACR_ERANGE          (ACR_OS_START_ERROR + 102)
 #define ACR_ECLASSNOTFOUND  (ACR_OS_START_ERROR + 103)
 #define ACR_EFAULT          (ACR_OS_START_ERROR + 104)
+#define ACR_EILSEQ          (ACR_OS_START_ERROR + 105)
 
 /**
  * @defgroup ACR_STATUS_IS Status Value Tests

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=803241&r1=803240&r2=803241&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/error.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/error.c Tue Aug 11 18:37:32 2009
@@ -266,6 +266,8 @@
         return "The specified Java Class was not found";
     case ACR_EFAULT:
         return "Bad address";
+    case ACR_EILSEQ:
+        return "Illegal byte sequence";
     default:
         return "Error string not specified yet";
     }



Mime
View raw message