upate faild then throw exception

upate faild then throw exception,format BuildSelectLimitSql order by sql