[jboss-user] [jBPM] - jBPM5 Exception Handling

dme do-not-reply at jboss.com
Tue Oct 25 18:07:19 EDT 2011


dme [http://community.jboss.org/people/dme] created the discussion

"jBPM5 Exception Handling"

To view the discussion, visit: http://community.jboss.org/message/633574#633574

--------------------------------------------------------------
Hi,

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?

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633574#633574]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111025/aaa2973c/attachment.html 


More information about the jboss-user mailing list