code: private static JobRecord queryJobOrAbandonTask(Key key, JobRecord.InflationType inflationType) {
      try {
        return backEnd.queryJob(key, inflationType);
      } catch (NoSuchObjectException e) {
        logger.log(
            Level.WARNING, "Cannot find some part of the job: " + key + ". Ignoring the task.", e);
        throw new AbandonTaskException();
      }
    }
docs: Queries for the job with the given key from the data store and if the job
  is not found then throws an {@link AbandonTaskException}.
  
  @param key The key of the JobRecord to be fetched
  @param inflationType Specifies the manner in which the returned JobRecord
  should be inflated.
  @return A {@code JobRecord}, possibly with a partially-inflated associated
  graph of objects.
  @throws AbandonTaskException If Either the JobRecord or any of the
  associated Slots or Barriers are not found in the data store.