[
http://jira.jboss.com/jira/browse/JBESB-1374?page=comments#action_12389929 ]
Kevin Conner commented on JBESB-1374:
-------------------------------------
Hiya Jirka.
You are correct, that code should not be wrapping the Runtime/Errors in that manner but
this is a separate issue to whether jBPM is wrapping them.
Are you now saying that jBPM is not wrapping the exceptions and that it is the ESB?
Exception handling problem when used integrated jBPM/ESB with JTA
-----------------------------------------------------------------
Key: JBESB-1374
URL:
http://jira.jboss.com/jira/browse/JBESB-1374
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta, Process flow
Affects Versions: 4.2.1
Reporter: Jiri Pechanec
Assigned To: Kevin Conner
When used distributed tranasctions the transaction is rolled back when runtime exception
is thrown. Unfortunately the jBPM encapsulates RuntimeExceptions into JBPMExceptions that
are checked. Thus the rollback is not executed.
Also it needs to be checked there there is no other way in ESB that will cause
RuntimException to be changed to checked Exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira