Praveen,
In mapping functions you can see Init,Cleanup methods.
Just have a catch block to throw in case of errors.
And incase of errors have a code like below to write the file
Praveen,
In mapping functions you can see Init,Cleanup methods.
Just have a catch block to throw in case of errors.
And incase of errors have a code like below to write the file