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

Allow to specify the cause exception when creating a BpmnError

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.13.0, 7.13.0-alpha4
    • None
    • 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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: