I want to apply a exception block around my for loop. That is, if there is any problem in running for loop condition ie(x in results ) i want to cover it using exception. I