Save original_exception into StatementInvalid.