Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11725

Allow to specify the cause exception when creating a BpmnError

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.13.0, 7.13.0-alpha4
    • None
    • None
    • None

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              fml2 fml2
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce