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).
例如,管理员可能处理任务中的异常(例如,无效的命令、系统崩溃)。
You need to obtain a value from a dictionary, without having to handle an exception if the key you seek is not in the dictionary.
你需要从字典中获得一个值,不要处理在字典里找不到你所需要的键值的异常。
You need to obtain a value from a dictionary, without having to handle an exception if the key you seek is not in the dictionary.
你需要从字典中获得一个值,不要处理在字典里找不到你所需要的键值的异常。
应用推荐