Throw exception if defined TextField font does not contain the password character.