Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Below is my job. I am trying to get the Exception object using tAssertCatcher, but I am not able to do so.
My tFileOutputDelimited throwing the following error :
Exception in component tFileOutputDelimited_1
java.io.FileNotFoundException: C:\out.csv (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at first_project.temp_0_1.temp.tRowGenerator_1Process(temp.java:597)
at first_project.temp_0_1.temp.runJobInTOS(temp.java:1720)
at first_project.temp_0_1.temp.main(temp.java:1573)
I want to get the exception object and take necessary action, but I am getting all the values empty in tAssertCatcher.
The following is my tLogRow :
first_project.temp_0_1.temp.main(temp.java:1573)
.------+---+-------+---+--------+------+------+---------+-----------+---------.
| tLogRow_1 |
|=-----+---+-------+---+--------+------+------+---------+-----------+--------
|moment|pid|project|job|language|origin|status|substatus|description|exception|
|=-----+---+-------+---+--------+------+------+---------+-----------+--------
'------+---+-------+---+--------+------+------+---------+-----------+---------'
My question is : How can I get the exact Exception object for any component when any exception occurs, so that I can take necessary action based on the exception, also I want to start the job after the action is taken against the exception.
Thanks.