Package org.camunda.bpm.engine.delegate
Class BpmnError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.camunda.bpm.engine.ProcessEngineException
-
- org.camunda.bpm.engine.delegate.BpmnError
-
- All Implemented Interfaces:
Serializable
public class BpmnError extends ProcessEngineException
Special exception that can be used to throw a BPMN Error fromJavaDelegate
s 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, whereasError
represents an Error definition.- Author:
- Falko Menge
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.ProcessEngineException
code
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
String
getMessage()
protected void
setErrorCode(String errorCode)
protected void
setMessage(String errorMessage)
String
toString()
-
Methods inherited from class org.camunda.bpm.engine.ProcessEngineException
getCode, setCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-