<?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: catch exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242001#M28966</link>
    <description>Hi, &lt;BR /&gt;You can create two jobs one is parent and the other is child so that there is an option "Die on child error "(clear this check box to execute the parent Job even though there is an error when executing the child Job) in tRunjob component. &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 20 Nov 2013 03:47:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-20T03:47:22Z</dc:date>
    <item>
      <title>catch exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242000#M28965</link>
      <description>I am wondering what is the proper mechanism in Talend to catch exception.
&lt;BR /&gt;I have a sub-job that has the tMSSqlSP component used to call a stored procedure. When a SQL exception occurred during the call, the entire job dies.
&lt;BR /&gt;I have added tLogCatcher on the parent- and sub-job, and also added in the parent job, to route to a component like tJava with the "on SubjobError" trigger on the sub-job. I can see data flows through the tLogCatcher and this "subjob error" trigger, but the parent job still dies.
&lt;BR /&gt;How can I catch the exception and handle it properly (such as sending out an email) but my main job/process does not die (it is designed to listening some ActiveMQ messages for processing)?
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 11:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242000#M28965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: catch exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242001#M28966</link>
      <description>Hi, &lt;BR /&gt;You can create two jobs one is parent and the other is child so that there is an option "Die on child error "(clear this check box to execute the parent Job even though there is an error when executing the child Job) in tRunjob component. &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 20 Nov 2013 03:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242001#M28966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-20T03:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: catch exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242002#M28967</link>
      <description>Hi,&lt;BR /&gt;    &lt;BR /&gt;    You can add twarn component at OnCompoentError of the component(Where you want to catch exception). Aslo checked Error on die check box.Add tlogCatcher in the job. You can select error in twarn using global variable. tWarn throws exception. LogCatcher catches the exception and you can see it by using tlog after it.&lt;BR /&gt;    Also can find errors  - Go to File. Edit project properties&lt;BR /&gt;                                  - Change Job setting&lt;BR /&gt;                                  - stat &amp;amp; logs&lt;BR /&gt;                                  - save the log into DB&lt;BR /&gt;   Use which  one you want.&lt;BR /&gt; Cheers,&lt;BR /&gt; Sanjay</description>
      <pubDate>Wed, 20 Nov 2013 12:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/catch-exception/m-p/2242002#M28967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-20T12:29:32Z</dc:date>
    </item>
  </channel>
</rss>

