Fixed a typo in a raised exception message.