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;
|
||||
#else
|
||||
sigar_throw_notimpl(env, "Win32 only");
|
||||
sigar_throw_error(env, jsigar, SIGAR_ENOTIMPL);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue