Fixed typo in exception

There was a typo.