A number of exceptions are thrown in parsing, caught but left unhandled. make a 'parsingexception' and throw with reason/line number for logging / gui display.