Corrected exception example