<?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: Retrieving error details in generic ErrorBoundaryEvent flow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132348#M92954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAIK, only the error-code is used to find the correct handler. The rest of the exception is ignored:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt; public static void propagateError(BpmnError error, ActivityExecution execution) throws Exception {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; propagateError(error.getErrorCode(), execution);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt; public static void propagateError(String errorCode, ActivityExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // find local error handler&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String eventHandlerId = findLocalErrorEventHandler(execution, errorCode);&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Either you create specific handlers for each error-type you expect OR store (before throwing the BPMNError) some context on a thread-local somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 08:40:42 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-02-08T08:40:42Z</dc:date>
    <item>
      <title>Retrieving error details in generic ErrorBoundaryEvent flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132347#M92953</link>
      <description>Hi All,Is there any way by which we can get the error details in a generic ErrorBoundaryEvent flow.The Scenario is something like this:-The Wrapper Workflow definition is attached below.we have defined a wrapping workflow which has a callActivity that invokes dynamic standalone subprocess(ie the cal</description>
      <pubDate>Fri, 08 Feb 2013 04:39:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132347#M92953</guid>
      <dc:creator>vivverma</dc:creator>
      <dc:date>2013-02-08T04:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving error details in generic ErrorBoundaryEvent flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132348#M92954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAIK, only the error-code is used to find the correct handler. The rest of the exception is ignored:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt; public static void propagateError(BpmnError error, ActivityExecution execution) throws Exception {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; propagateError(error.getErrorCode(), execution);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt; public static void propagateError(String errorCode, ActivityExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // find local error handler&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String eventHandlerId = findLocalErrorEventHandler(execution, errorCode);&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Either you create specific handlers for each error-type you expect OR store (before throwing the BPMNError) some context on a thread-local somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 08:40:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132348#M92954</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-08T08:40:42Z</dc:date>
    </item>
  </channel>
</rss>

