<?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 Hi Sebastien, in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Make-code-stage-throw-exception/m-p/58245#M12117</link>
    <description>Hi Sebastien,
you should use in your code stage try/catch approach (which is best practice anyway) and if there is an exception caught in the catch part you can set up some variables to contain error message which then can be passed as a text in throw exception after the code stage.
Zdenek</description>
    <pubDate>Fri, 05 May 2017 01:06:00 GMT</pubDate>
    <dc:creator>zdenek.kabatek</dc:creator>
    <dc:date>2017-05-05T01:06:00Z</dc:date>
    <item>
      <title>Make code stage throw exception</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Make-code-stage-throw-exception/m-p/58244#M12116</link>
      <description>Does anyone know how to make my code stage (MAPIEx in this case, but it matters not) throw an exception which can be caught by a recovery stage when you put the code stage in a block? I have been unable to catch any type of exceptions as they occur and the code stage either just continues or crashes my blue prism application.</description>
      <pubDate>Thu, 04 May 2017 14:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Make-code-stage-throw-exception/m-p/58244#M12116</guid>
      <dc:creator>SébastienBulté</dc:creator>
      <dc:date>2017-05-04T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Hi Sebastien,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Make-code-stage-throw-exception/m-p/58245#M12117</link>
      <description>Hi Sebastien,
you should use in your code stage try/catch approach (which is best practice anyway) and if there is an exception caught in the catch part you can set up some variables to contain error message which then can be passed as a text in throw exception after the code stage.
Zdenek</description>
      <pubDate>Fri, 05 May 2017 01:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Make-code-stage-throw-exception/m-p/58245#M12117</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2017-05-05T01:06:00Z</dc:date>
    </item>
  </channel>
</rss>

