You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
tFileInputDelimited throws a Java exception if the filename specified does not exist.
This happens regardless of whether the Die on Error box is checked.
I thought that if the Die on Error box was unchecked, no Java exception would occur. Instead, I would think it would just follow the path for On Component Error (which in my case simply is a tWarn to log a message).
It appears to me that the Die On Error check box has no effect on the functioning of the component.
See screen shots...
LOGGED MESSAGE:
2008-05-16 16:25:53|1hu3dF|1hu3dF|1hu3dF|SJMTESTS|tst|Default|6|Java Exception|tWarn_1|\tmp\hdc_test.txt (The system cannot find the file specified)|1
Last edited by SMaz (2008-05-16 23:45:19)
Offline
Hi SMaz,
What's your operating System (Windows or Linux) ?
In all cases you need to specify your filepath with / character.
For example under Windows : C:/myfolder/myfile.txt
Or under linux : /myfolder/myfile.txt
Thanks.
Best regards;
Offline

This questions is not about your OS
Like for all others components, the Die On Error checkbox is only about flow errors
Missing data sources (file, or db) is a big problem and is not releated to die on error.
You can use a tFileList or tWaitForFile to work only if you file s available.
Regards,
Offline
Pages: 1