From c4153d24854b1d008abd9babd7a08ff75f96accb Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 14 Aug 2004 04:26:42 +0000 Subject: [PATCH] change throw_notimpl to throw_error --- bindings/java/src/jni/javasigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/src/jni/javasigar.c b/bindings/java/src/jni/javasigar.c index c3c34ccf..551794e2 100644 --- a/bindings/java/src/jni/javasigar.c +++ b/bindings/java/src/jni/javasigar.c @@ -1124,6 +1124,6 @@ JNIEXPORT jlong SIGAR_JNI(Sigar_getServicePid) return pid; #else - sigar_throw_notimpl(env, "Win32 only"); + sigar_throw_error(env, jsigar, SIGAR_ENOTIMPL); #endif }