Class FlowableGuardrailViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.flowable.common.engine.api.FlowableException
org.flowable.common.engine.api.delegate.BusinessError
com.flowable.agent.engine.impl.guardrail.FlowableGuardrailViolationException
All Implemented Interfaces:
Serializable

public class FlowableGuardrailViolationException extends org.flowable.common.engine.api.delegate.BusinessError
A business error thrown when a guardrail violation occurs with onFailure = "error".

Extends BusinessError so it can be caught by:

  • BPMN error boundary events (matching on BusinessError.getErrorCode())
  • CMMN fault sentries (via fault propagation)

The violation details are available as additional data on the error, accessible as variables in the error handler scope.

See Also: