</BUG>
}
}
@Override
public synchronized void suspend(Handler<Void> completionHandler) {
<BUG>if (status == ExecStatus.RUNNING) {
</BUG>
updateStatus(
ExecStatus.STOPPED,
null,

fg,
resumeHandler,
terminatedHandler,
completionHandler);
} else {
throw new IllegalStateException("Cannot resume process in " + processStatus + " state");
}
}
@Override
public synchronized void suspend(Handler<Void> completionHandler) {
if (processStatus == ExecStatus.RUNNING) {
updateStatus(
ExecStatus.STOPPED,
null,
