docs: public static void validatePersistedStepExecution(
                                                        StepThreadExecutionEntity stepExecution) throws PersistenceException {
  
          if (stepExecution.getStepExecutionId() <= 0) {
  
              long stepId = stepExecution.getStepExecutionId();
  
              PersistenceException e = new PersistenceException(new BatchIllegalIDPersistedException(Long.toString(stepId)));
              logger.log(Level.SEVERE, "error.invalid.persisted.step.id",
                         new Object[] { Long.toString(stepId), e });
  
              throw e;
          }
  
      }