Fixed typo in exception construction.