public class BpmnError extends ProcessEngineException
JavaDelegate
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, whereas
Error
represents an Error definition.Constructor and Description |
---|
BpmnError(String errorCode) |
BpmnError(String errorCode,
String message) |
BpmnError(String errorCode,
String message,
Throwable cause) |
BpmnError(String errorCode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode() |
String |
getMessage() |
protected void |
setErrorCode(String errorCode) |
protected void |
setMessage(String errorMessage) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public BpmnError(String errorCode)
Copyright © 2021. All rights reserved.