Try/Catch fails to catch exception?

I have the same problem.How did you solve it?