I was trying to catch an exception if the file not got deleted, it went fine before I added the loop inside the try catch block. But, after adding the loop it is not catching the exception instead it is continuing with out terminating the job. I need the same continuing the job with out any interruption but I also need is the catch message.
Ask me if you need code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was trying to catch an exception if the file not got deleted, it went fine before I added the loop inside the try catch block. But, after adding the loop it is not catching the exception instead it is continuing with out terminating the job. I need the same continuing the job with out any interruption but I also need is the catch message.
Ask me if you need code.
I forgot to add throw exception. It is working fine now