Calling 'next' from within exception handling