This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Nope, the loop should not end if the exception is catched. What is the stack-trace that is printed? Are you sure it is from the exception you expect? (The code in the catch can also throw an exception)