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 2011/05/05 16:46:11 UTC
svn commit: r1099828 -
/commons/sandbox/runtime/trunk/src/main/native/os/win32/registry.c
Author: mturk
Date: Thu May 5 14:46:11 2011
New Revision: 1099828
URL: http://svn.apache.org/viewvc?rev=1099828&view=rev
Log:
Use macros for throwing exceptions
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/registry.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/registry.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/registry.c?rev=1099828&r1=1099827&r2=1099828&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/registry.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/registry.c Thu May 5 14:46:11 2011
@@ -96,7 +96,7 @@ ACR_WIN_EXPORT(jlong, RegistryKeyImpl, o
if (rc) {
skey = NULL;
- AcrThrowByStatus(env, rc, 0);
+ ACR_THROW_SYS_ERROR(rc);
}
return P2J(skey);
}
@@ -123,7 +123,7 @@ ACR_WIN_EXPORT(jlong, RegistryKeyImpl, c
if (rc) {
skey = 0;
- AcrThrowByStatus(env, rc, 0);
+ ACR_THROW_SYS_ERROR(rc);
}
return P2J(skey);
}