Class BpmnRaisableError
java.lang.Object
de.xima.fc.common.workflow.bpmn.BpmnRaisable
de.xima.fc.common.workflow.bpmn.BpmnRaisableError
- All Implemented Interfaces:
Serializable, Comparable<BpmnRaisableError>
Models a raisable
Error in a structured BPMN model part, see also
raisableErrors.
Each error is identified by its error code, but may have additional data such as a
display name or details, see data.
- Since:
- 8.4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBpmnRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error, BpmnRaisableData data) Creates a new raisable error from the givenErrorand data.BpmnRaisableError(String errorCode, BpmnRaisableData data) Creates a new raisable error with the given error code and data. -
Method Summary
Methods inherited from class BpmnRaisable
data
-
Constructor Details
-
BpmnRaisableError
Creates a new raisable error with the given error code and data.- Parameters:
errorCode- The error code of the error.data- The data for the raisable, such as its display name and details.
-
BpmnRaisableError
public BpmnRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error, BpmnRaisableData data) Creates a new raisable error from the givenErrorand data.- Parameters:
error- An error with an error code.data- The data for the raisable, such as its display name and details.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<BpmnRaisableError>
-
equals
- Specified by:
equalsin classBpmnRaisable
-
errorCode
-
hashCode
public int hashCode()- Specified by:
hashCodein classBpmnRaisable
-