handle an exception
常見例句
- They will not be prepared to handle an exception that unexpectedly bubbles up from compare().
它們沒有準備好處理 compare() 中意外出現(xiàn)的異常。 - If a service thread does not handle an exception due to programming error, it will kill the whole application.
如果服務(wù)線程因編程錯誤而沒有處理某個異常,則會造成整個應(yīng)用程序崩潰。 - For example, an administrative staff could handle an exception in a task (for example, invalid order, system failure).
例如,管理員可能處理任務(wù)中的異常(例如,無效的命令、系統(tǒng)崩潰)。 - What does that say? It says if in the code up here I get an exception of that sort, I'm going to go to this place to handle it.
這意味著如果在代碼中,我得到一個這樣的異常,我能到這里來處理它。
麻省理工公開課 - 計算機科學(xué)及編程導(dǎo)論課程節(jié)選 返回 handle an exception