Corrected exception type