Corrected typo in exception