Throw exception if the job cannot be queued