7 Replies Latest reply on Feb 21, 2013 1:51 AM by arp.java6

    jBPM5 Exception Handling

    dme Newbie



      I have created a flow to test the Fault/Exception Handling provided by jBPM, but the fault is never handled. I have attached the Process File and the correspondign Java Driver Below.


      The Exception is raised correctly, and within the sub-process I add an exception handler which maps to the Fault Code. In this Excetpion Handler I am printing a message stating that the fault was handled, but the code never reaches the exception handler. When I look at the "XML" behind the process, it does not contain the code for exception handling. Now if I close the process file and re-open it, the exception handling code does not show in Eclipse as well.


      I looked at the Example "ErrorBoundaryEventInterrupting.bpmn2" and see that even in this case the Exception Handler code is not in the XML for the process. Where is this code kept and how do I fix my process to handle the fault/exceptions generated?