<?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 catch exception in cTry component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/catch-exception-in-cTry-component/m-p/2321698#M91707</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; I am using certificate to access the server.  if user is using wrong or expired certificate it throw System.InvalidOperationException . in open studio building it as a route, I am using c&lt;B&gt;Try&lt;/B&gt; component which &lt;B&gt;try&lt;/B&gt; to invoke target REST endpoint and if request is not successful because of wrong certificate  then &lt;B&gt;catch&lt;/B&gt; the error/exception (System.InvalidOperationException) and display the customize error message. how cTry can catch this exception? can some one please guide? I am trying to directly add it in catch but when I run the job it throw error  Exception cannot resolves to a type. so how can I add Exception here?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000UyoxXAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127786iD67CB9B3726C703E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000UyoxXAAR.png" alt="0695b00000UyoxXAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:34:35 GMT</pubDate>
    <dc:creator>user19</dc:creator>
    <dc:date>2024-11-15T22:34:35Z</dc:date>
    <item>
      <title>catch exception in cTry component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/catch-exception-in-cTry-component/m-p/2321698#M91707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; I am using certificate to access the server.  if user is using wrong or expired certificate it throw System.InvalidOperationException . in open studio building it as a route, I am using c&lt;B&gt;Try&lt;/B&gt; component which &lt;B&gt;try&lt;/B&gt; to invoke target REST endpoint and if request is not successful because of wrong certificate  then &lt;B&gt;catch&lt;/B&gt; the error/exception (System.InvalidOperationException) and display the customize error message. how cTry can catch this exception? can some one please guide? I am trying to directly add it in catch but when I run the job it throw error  Exception cannot resolves to a type. so how can I add Exception here?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000UyoxXAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127786iD67CB9B3726C703E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000UyoxXAAR.png" alt="0695b00000UyoxXAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/catch-exception-in-cTry-component/m-p/2321698#M91707</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2024-11-15T22:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: catch exception in cTry component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/catch-exception-in-cTry-component/m-p/2414819#M140114</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm not sure but I'm catching error with cOnException, maybe add this component after cTry to get those java errors&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeoste_0-1707132129491.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159078i27DC9E772EC2CE75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeoste_0-1707132129491.png" alt="jeoste_0-1707132129491.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 11:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/catch-exception-in-cTry-component/m-p/2414819#M140114</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2024-02-05T11:22:32Z</dc:date>
    </item>
  </channel>
</rss>

