Allow to specify the cause exception when creating a BpmnError

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.13.0, 7.13.0-alpha4
    • Affects Version/s: None
    • Component/s: None
    • None

      When throwing a BpmnError it would be cool if we could also specify a cause.

      This has two advantages:

      1. The cause details are automatically included into the message text
      2. When a BpmnError is thrown as a reaction on an application exception, from the catch block for the exception, sonar qube will not complain about the original exception not being logged or rethrown.

      I've created a patch for that: https://github.com/camunda/camunda-bpm-platform/pull/776

            Assignee:
            Thorben Lindhauer
            Reporter:
            fml2
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: