Corrected typo in exception type