All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.activiti.engine.ActivitiTaskAlreadyClaimedException Maven / Gradle / Ivy

There is a newer version: 3.0.Beta
Show newest version
package org.activiti.engine;

/**
 * This exception is thrown when you try to claim a task that is already claimed by someone else.
 * 


 */
public class ActivitiTaskAlreadyClaimedException extends ActivitiException {

  private static final long serialVersionUID = 1L;

  /** the id of the task that is already claimed */
  private String taskId;

  /** the assignee of the task that is already claimed */
  private String taskAssignee;

  public ActivitiTaskAlreadyClaimedException(String taskId, String taskAssignee) {
    super("Task '" + taskId + "' is already claimed by someone else.");
    this.taskId = taskId;
    this.taskAssignee = taskAssignee;
  }

  public String getTaskId() {
    return this.taskId;
  }

  public String getTaskAssignee() {
    return this.taskAssignee;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy