Menu

catch is not working when used with loop

Aneesh
2016-11-23
2016-11-23
  • Aneesh

    Aneesh - 2016-11-23

    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.

     
  • Aneesh

    Aneesh - 2016-11-23

    I forgot to add throw exception. It is working fine now

     

Log in to post a comment.