Exception thrown when there is an error with the {@link JobQueue}ing subsystem.
7475767778798081
queue.add(spec); spec.getJob().setStatus(JobStatus.QUEUED); safeUpdateJob(spec); return jobId; } else throw new JobQueueException("Reached max queue size: [" + maxQueueSize + "]: Unable to add job: [" + spec.getJob().getId() + "]"); }
89909192939495969798
queue.add(spec); spec.getJob().setStatus(JobStatus.QUEUED); safeUpdateJob(spec); return spec.getJob().getId(); }catch (Exception e) { throw new JobQueueException("Failed to re-queue job '" + (spec != null ? spec.getJob().getId() : "null") + "' : " + e.getMessage(), e); } }