Unable to catch Exception from external jar files.

One Star

Unable to catch Exception from external jar files.

Hi,
I am using external jar files to call some method in tjava. When method throws an APIException,I am unable to catch that exception through tLogCatcher. Attached are the snapshots for the same.
In the logfile I am expecting a Exception Type as "java exception" with a message "The access token could not be decrypted","type":"OAuthException","code":190,"fbtrace_id":"CBTJV5U6U80"}}
at com.facebook.ads.sdk.APIRequest.readResponse(APIRequest.java:223)" .


One Star

Re: Unable to catch Exception from external jar files.

You can use tJavaFlex.  With try catch exception and link it to your tjava code.  You can save the logs in a globalMap variable and write it to the file in the end 
One Star

Re: Unable to catch Exception from external jar files.

Hi ahallam,
Thank you. It worked.
 Regards
Isha Taneja

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now