Replace success flags with exceptions.
Gives more detail about why a word was invalid.