Added line numbers to exceptions.