From jira-events at lists.jboss.org Thu Apr 22 11:51:10 2010 Content-Type: multipart/mixed; boundary="===============9084365054640579714==" MIME-Version: 1.0 From: Toshiya Kobayashi (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Updated: (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:51:10 -0400 Message-ID: <718867414.1271951470541.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 541563850.1271951231143.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com --===============9084365054640579714== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-2854?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Toshiya Kobayashi updated JBPM-2854: ------------------------------------ Attachment: JBPM-2854.patch patch for GraphElement and ExceptionHandlerTest > If exception handlers are defined in multiple nodes, only the first one i= s 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 > Attachments: JBPM-2854.patch > > > If you run a process definition below with ExceptionActionHandler which t= hrows IllegalArgumentException, the first exception will be handled by the = first 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 Exe= cutionContext.exception can be cleared after handling the exception. Then a= voiding loop and using multiple exception handlers will be achieved at a ti= me. = > =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 --===============9084365054640579714==--