-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
If you set structureRef for BoundaryErrorEvent (In Eclipse Bpmn2 Diagram Editor, "Definitions" => "Error List" => 'Data Type' in 'Error Details'), it looks like that structureRef indicates Exception type to catch. But in reality, BoundaryEventHandler sets exceptionHandler to ExceptionScope with key 'ItemDefinition_4' as-is without resolving the itemDefinition.
<bpmn2:itemDefinition id="ItemDefinition_4" structureRef="java.lang.RuntimeException"/> <bpmn2:error id="Error_1" errorCode="com.sample.UnknownException" name="Error_1" structureRef="ItemDefinition_4"/> <bpmn2:boundaryEvent id="BoundaryEvent_1" name="MyBoundaryErrorEvent" attachedToRef="SubProcess_1"> ... <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_1"/> </bpmn2:boundaryEvent>