Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
to stop the processing of the job and rarely to pass customised error messages.
I got this figured. No worries