Class CmmnFault

All Implemented Interfaces:
Serializable

public class CmmnFault extends BusinessError
Special exception that can be used to throw a CMMN Fault from PlanItemJavaDelegates, expressions, and scripts. This should only be used for business faults, which shall be handled by sentries with standardEvent="fault". Technical errors should be represented by other exception types. This is the CMMN equivalent of BPMN's BpmnError. When thrown during plan item execution, it triggers the fault transition (Active → Failed) instead of propagating as an exception.
Author:
Joram Barrez
See Also: