<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to catch an error by a boundary error event thrown by a service task listener? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195434#M148564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Silvi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So my question is there any limitation that a boundary error event cannot catch an error from a service task if the error is thrown inside a listener used in the service task?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Current implementation do not surround listener call by try catch (BpmError) block. That's the reason why it behaves in this way. May be you have found good place for improvement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 06:12:38 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-06-20T06:12:38Z</dc:date>
    <item>
      <title>How to catch an error by a boundary error event thrown by a service task listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195432#M148562</link>
      <description>Hi I have got a service task that uses the following delegatepublic class ThrowBpmnErrorDelegate implements JavaDelegate {&amp;nbsp; public void execute(DelegateExecution execution) throws Exception {&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; executeBusinessLogic();&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (BusinessException e) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new BpmnError("SomeExcep</description>
      <pubDate>Fri, 20 Jun 2014 05:01:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195432#M148562</guid>
      <dc:creator>silvi</dc:creator>
      <dc:date>2014-06-20T05:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to catch an error by a boundary error event thrown by a service task listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195433#M148563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure why the xml cannot be seen here in the post so please check the txt file in the attachment for more information about the question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 05:05:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195433#M148563</guid>
      <dc:creator>silvi</dc:creator>
      <dc:date>2014-06-20T05:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to catch an error by a boundary error event thrown by a service task listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195434#M148564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Silvi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So my question is there any limitation that a boundary error event cannot catch an error from a service task if the error is thrown inside a listener used in the service task?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Current implementation do not surround listener call by try catch (BpmError) block. That's the reason why it behaves in this way. May be you have found good place for improvement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:12:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195434#M148564</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-20T06:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to catch an error by a boundary error event thrown by a service task listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195435#M148565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Martin for your quick reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; so i know what we have to do next …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Silvi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:19:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-catch-an-error-by-a-boundary-error-event-thrown-by-a/m-p/195435#M148565</guid>
      <dc:creator>silvi</dc:creator>
      <dc:date>2014-06-20T06:19:40Z</dc:date>
    </item>
  </channel>
</rss>

