public ProcessEngineException jobNotFoundException(String jobId) { return new ProcessEngineException(exceptionMessage( "026", "No job found with id '{}'", jobId)); }
public ProcessEngineException jobNotFoundException(String jobId) { return new ProcessEngineException(exceptionMessage( "026", "No job found with id '{}'", jobId)); }
public ProcessEngineException wrapJobExecutionFailure(JobFailureCollector jobFailureCollector, Throwable cause) { JobEntity job = jobFailureCollector.getJob(); if (job != null) { return new ProcessEngineException(exceptionMessage( "025", "Exception while executing job {}: ", jobFailureCollector.getJob()), cause); } else { return new ProcessEngineException(exceptionMessage( "025", "Exception while executing job {}: ", jobFailureCollector.getJobId()), cause); } }
public ProcessEngineException wrapJobExecutionFailure(JobFailureCollector jobFailureCollector, Throwable cause) { JobEntity job = jobFailureCollector.getJob(); if (job != null) { return new ProcessEngineException(exceptionMessage( "025", "Exception while executing job {}: ", jobFailureCollector.getJob()), cause); } else { return new ProcessEngineException(exceptionMessage( "025", "Exception while executing job {}: ", jobFailureCollector.getJobId()), cause); } }
public ProcessEngineException jobNotFoundException(String jobId) { return new ProcessEngineException(exceptionMessage( "026", "No job found with id '{}'", jobId)); }
public ProcessEngineException wrapJobExecutionFailure(JobFailureCollector jobFailureCollector, Throwable cause) { JobEntity job = jobFailureCollector.getJob(); if (job != null) { return new ProcessEngineException(exceptionMessage( "025", "Exception while executing job {}: ", jobFailureCollector.getJob()), cause); } else { return new ProcessEngineException(exceptionMessage( "025", "Exception while executing job {}: ", jobFailureCollector.getJobId()), cause); } }