Catching exceptions and untested scanner parsing