Class VariableViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.automatiko.engine.api.workflow.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:
  • Constructor Details

    • VariableViolationException

      public VariableViolationException(String processInstanceId, String variableName, String errorMessage)
  • Method Details

    • getProcessInstanceId

      public String 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