Package org.activiti.engine.delegate
Class BpmnError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.activiti.engine.ActivitiException
-
- org.activiti.engine.delegate.BpmnError
-
- All Implemented Interfaces:
java.io.Serializable
public class BpmnError extends ActivitiException
Special exception that can be used to throw a BPMN Error fromJavaDelegates and expressions. This should only be used for business faults, which shall be handled by a Boundary Error Event or Error Event Sub-Process modeled in the process definition. Technical errors should be represented by other exception types. This class represents an actual instance of a BPMN Error, whereasErrorrepresents an Error definition.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorCode()protected voidsetErrorCode(java.lang.String errorCode)
-