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>

public final class BpmnRaisableError extends BpmnRaisable implements 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 Details

    • BpmnRaisableError

      public BpmnRaisableError(String errorCode, BpmnRaisableData data)
      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 given Error and data.
      Parameters:
      error - An error with an error code.
      data - The data for the raisable, such as its display name and details.
  • Method Details