Corrected exception type.