Module io.automatiko.engine.api
Class VariableViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.automatiko.engine.api.workflow.VariableViolationException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionVariableViolationException(String processInstanceId, String variableName, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionReturns error message associated with this failure.Returns process instance id of the instance that failed.Returns variable name that was violatedMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VariableViolationException
-
-
Method Details
-
getProcessInstanceId
Returns process instance id of the instance that failed.- Returns:
- process instance id
-
getVariableName
Returns variable name that was violated- Returns:
- variable name
-
getErrorMessage
Returns error message associated with this failure.- Returns:
- error message
-