I don't think this is good... each loop of this will add a catch handler to the stack, and it will then crash once the stack gets too big. Better to use a while loop, or explicit call at the end, and have the catch before this line.