Class VariableViolationException

  • All Implemented Interfaces:
    Serializable

    public class VariableViolationException
    extends RuntimeException
    Thrown when there is any kind of variable violation such as missing required variable or attempt to set already defined readonly variable.
    See Also:
    Serialized Form
    • Constructor Detail

      • VariableViolationException

        public VariableViolationException​(Long processInstanceId,
                                          String variableName,
                                          String errorMessage)
    • Method Detail

      • getProcessInstanceId

        public Long getProcessInstanceId()
        Returns process instance id of the instance that failed.
        Returns:
        process instance id
      • getVariableName

        public String getVariableName()
        Returns variable name that was violated
        Returns:
        variable name
      • getErrorMessage

        public String getErrorMessage()
        Returns error message associated with this failure.
        Returns:
        error message