Error Handling


I am converting a flat file to xml.Apart from mapping errors ,what type of errors i need to handle?

i guess u need to validate the incoming flatfile …u may need to check validation errors there…

You may also want a check at the begining to see if the flat file has any data. Basically a null check for data and then proceed ahead.


sometimes flatfile may be incomplete…u need to check number of records and match it with trailer (depends on type of flat file) but we had such a problem.