Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nivedhitha
Creator III
Creator III

tLogCatcher - catch tDie and java exception

Hi everyone,

 

I have a tLogCatcher with Java and tDie exceptions enabled and have a dbconnection and a tDie on component error.

Every time the dbconnection fails , I get 2 exceptions, one from tDie and a java exception for the same db connection failure.

Is this the behaviour of Logcatcher or is it a bug?

 

My understanding was any exception that is not handled with a tDie would come out as a java exception. 

 

Can something please explain me this situation?

 

Thanks in advance

Labels (1)
  • Cloud

2 Replies
Anonymous
Not applicable

Hello,

You will get 2 informations about java exception and tDie if you check "Get Java Exceptions" and "Get tDie" in the tLogCatcher component. And the Java exception occurs before tDie which is linked with 'onComponentError' or 'OnsubjobError', tLogCatcher captures the error immediately once an error is thrown.

What's your purpose of using tDie component in your work flow?

Best regards

Sabrina

nivedhitha
Creator III
Creator III
Author

to stop the processing of the job and rarely to pass customised error messages.

I got this figured. No worries