Fix exception raise.