[2426] Initialize rdlen (apparently cppcheck doesn't detect the throw and complains)
[2426] Move the ungetToken() call to make it easier to follow
[2426] Add a comment on why the ungetToken() is necessary
[2426] Update exception message