change throw_notimpl to throw_error
This commit is contained in:
parent
f2150b270e
commit
c4153d2485
|
@ -1124,6 +1124,6 @@ JNIEXPORT jlong SIGAR_JNI(Sigar_getServicePid)
|
||||||
|
|
||||||
return pid;
|
return pid;
|
||||||
#else
|
#else
|
||||||
sigar_throw_notimpl(env, "Win32 only");
|
sigar_throw_error(env, jsigar, SIGAR_ENOTIMPL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue