BpmnError thrown from JavaDelegate implementation class is not caught in Process

Hi,
I have Java Class call from process Service Task’s execution listener with end configuration.
I am throwing BpmnError from the java delegate class, But that exception is not caught in process.
Please find my process design attached.

Thanks & Best Regards,
Ritesh

NotifyPostUnlockParent.bpmn (13.5 KB)

Hi @riteshp09,

I think your question has been answered here:

Cheers,
Thorben

Thank you Thorben form prompt response.
I guess I got my answer.

Thanks.

Hi Thorben,
Just out of curiosity, why its implemented like this.

As I understand, pre/post listener are also part of actual activity execution and any exception occurred in pre/post listener should be handled by process with catching event.
I am not able to understand the idea behind this.
If you can put some light on it would be great for my understanding.

Thanks & Best Regards,
Ritesh

Hi Ritesh,

I think this is just a missing feature. Feel free to open a feature request in our JIRA: https://app.camunda.com/jira/browse/CAM

Cheers,
Thorben