org.activiti.engine.JobNotFoundException Maven / Gradle / Ivy
package org.activiti.engine;
import org.activiti.engine.runtime.Job;
/**
* This exception is thrown when you try to execute a job that is not found (may be due to cancelActiviti="true" for instance)..
*
*/
public class JobNotFoundException extends ActivitiObjectNotFoundException {
private static final long serialVersionUID = 1L;
/** the id of the job */
private String jobId;
public JobNotFoundException(String jobId) {
super("No job found with id '" + jobId + "'.", Job.class);
this.jobId = jobId;
}
public String getJobId() {
return this.jobId;
}
}