handle an exception
常见例句
- They will not be prepared to handle an exception that unexpectedly bubbles up from compare().
它们没有准备好处理 compare() 中意外出现的异常。 - If a service thread does not handle an exception due to programming error, it will kill the whole application.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。 - For example, an administrative staff could handle an exception in a task (for example, invalid order, system failure).
例如,管理员可能处理任务中的异常(例如,无效的命令、系统崩溃)。 - 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.
这意味着如果在代码中,我得到一个这样的异常,我能到这里来处理它。
麻省理工公开课 - 计算机科学及编程导论课程节选 返回 handle an exception