fixes typo in exception example