Fix exception message typos that slipped through the previous commit.