docs: public static void validatePersistedJobInstanceIds(JobInstanceEntity instance) throws PersistenceException {
          if (instance.getInstanceId() <= 0) {
  
              long id = instance.getInstanceId();
  
              PersistenceException e = new PersistenceException(new BatchIllegalIDPersistedException(Long.toString(id)));
              logger.log(Level.SEVERE, "error.invalid.persisted.job.id",
                         new Object[] { Long.toString(id), e });
  
              throw e;
          }
  
      }