From jira-events at lists.jboss.org Thu Apr 22 11:47:11 2010 Content-Type: multipart/mixed; boundary="===============1328039200104851241==" MIME-Version: 1.0 From: Toshiya Kobayashi (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Created: (JBPM-2854) If exception handlers are defined in multiple nodes, only the first one is triggered during one execution Date: Thu, 22 Apr 2010 11:47:11 -0400 Message-ID: <541563850.1271951231143.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> --===============1328039200104851241== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable If exception handlers are defined in multiple nodes, only the first one is = triggered during one execution ---------------------------------------------------------------------------= ------------------------------ Key: JBPM-2854 URL: https://jira.jboss.org/jira/browse/JBPM-2854 Project: jBPM Issue Type: Bug Security Level: Public (Everyone can see) Components: Runtime Engine Affects Versions: jBPM 3.2.8 Reporter: Toshiya Kobayashi If you run a process definition below with ExceptionActionHandler which thr= ows IllegalArgumentException, the first exception will be handled by the fi= rst exception handler and the second exception won't be handled --- will be= thrown as a DelegationException to the client. This behavior was introduced by JBPM-1887 to avoid infinite loop. But Execu= tionContext.exception can be cleared after handling the exception. Then avo= iding loop and using multiple exception handlers will be achieved at a time= . = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============1328039200104851241==--