Corrected typo when exception raised