corrected exception throw