一种被广泛采用的失败处理机制是异常处理,包括捕获并记录错误,以及在失败发生时选择一个备选执行路径。
A widely adopted mechanism for dealing with failures is exception handling, encompassing both capturing and logging the error and choosing an alternative execution path in the case of failures.
一个需要动态流程选择的出色场景示例是,根据遇到的错误类型调用不同的异常处理流程。
A good example of a scenario where dynamic process selection is justified is the case where different exception handling processes may be invoked depending on the type of error that is encountered.
错误日志按年月日顺序(离现在越近的消息越靠近文件尾部)包含工作台和插件代码选择记录的任何消息和异常。
The error log contains, in chronological order (more-recent messages are at the end of the file), any messages and exceptions that workbench and plug-in code has chosen to log.
应用推荐