Examples of CaseIllegalStateTransitionException


Examples of org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException

  protected boolean isAtLeastOneExitCriteriaSatisfied(CmmnActivityExecution execution) {
    return false;
  }

  public void fireExitCriteria(CmmnActivityExecution execution) {
    throw new CaseIllegalStateTransitionException("Cannot trigger case execution '"+execution.getId()+"': exit criteria are not allowed for event listener.");
  }
View Full Code Here

Examples of org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException

  protected boolean isAtLeastOneEntryCriteriaSatisfied(CmmnActivityExecution execution) {
    return false;
  }

  public void fireEntryCriteria(CmmnActivityExecution execution) {
    throw new CaseIllegalStateTransitionException("Cannot trigger case execution '"+execution.getId()+"': entry criteria are not allowed for event listener.");
  }
View Full Code Here

Examples of org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException

  }

  protected CaseIllegalStateTransitionException createIllegalStateTransitionException(String transition, String message, CmmnActivityExecution execution) {
    String id = execution.getId();
    String errorMessage = String.format("Could not perform transition '%s' on case execution '%s': %s", transition, id, message);
    return new CaseIllegalStateTransitionException(errorMessage);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException

    if (!execution.isCaseInstanceExecution()) {
      super.fireEntryCriteria(execution);
      return;
    }

    throw new CaseIllegalStateTransitionException("Cannot trigger case instance '"+execution.getId()+"': entry criteria are not allowed for a case instance.");
  }
View Full Code Here

Examples of org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException

  protected String getTypeName() {
    return "event listener";
  }

  public void triggerEntryCriteria(CmmnActivityExecution execution) {
    throw new CaseIllegalStateTransitionException("Cannot trigger case execution '"+execution.getId()+"': entry criteria are not allowed for event listener.");
  }
View Full Code Here

Examples of org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException

  }

  protected CaseIllegalStateTransitionException createIllegalStateTransitionException(String transition, String message, CmmnActivityExecution execution) {
    String id = execution.getId();
    String errorMessage = String.format("Could not perform transition '%s' on case execution '%s': %s", transition, id, message);
    return new CaseIllegalStateTransitionException(errorMessage);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.