in case we catch an boundary error event, do we have access to an exception itself? Indeed BPMN notation doesn't specify this, but practicallywe consider this information useful (e.g. to display in the error handling task instead of digging in the logs)
No, there is no information about the exception details. Note that in some cases there will not be a real exception (exception Java with stack trace). Thre are two main ways to throw an BPM Error Event in Bonita:
1) using a End Error Event: in this case there is no exception. The error is throw because in your process design you have decided that if the execution has taken this path, it's an error and some action must be taken (path from boundary catch Error). The only information you have is the error code.
2) during the connector execution you can choose between "put the activity in failed state", "ignore and contine", "throw error event". In the last case a named BPM Error will be thrown but you will not have the information about the Java exception thrown by the connector. If you want you can add a feature request this.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.