log.finer ("Resume command failed for job " + jobId + ": No such job");
throw new CommandFailedException (jobId, "No such job");
}
else if (job.getState () == Job.SUSPENDED) {
job.resume ();
log.fine ("Job has been resumed: " + jobId);
}
else {
log.finer ("Resume command failed for job " + jobId + ": Job is not suspended");