More scanner exception handling