throw new CommandFailedException (jobId, "No such job");
}
else if (job.getState () == Job.RUNNING) {
try {
job.suspend ();
log.fine ("Job has been suspended: " + jobId);
}
catch (NotInterruptableException e) {
log.finer ("Suspend command failed for job " + jobId + ": Job cannot be interrupted");