public void queueNow(Job job) throws InvalidJobException {
  job.queue();
  try {
    executor.execute(job);
  }
 catch (  Exception e) {
    job.deQueue();
  }
}

public void queueNow ( Job job ) throws InvalidJobException { job . queue ( ) ; try { executor . execute ( job ) ; } catch ( Exception e ) { job . deQueue ( ) ; } }
adds a job to the job queue .
