A classic example of such a mistake is adding error handling code to take care of NULL Pointers or bad references without looking into the real cause of the invalid references.
此类错误的典型示例是添加错误处理代码以处理NULL指针或错误的引用,却没有查出无效引用的真正原因。
Exceeding expected values or boundaries of the application's function (e.g., does the right error handling get triggered when entering an invalid credit card number?)
超过应用程序功能的期望值或界限(例如,当输入无效的信用卡号时,恰当的错误处理启动了吗?)
For simplicity, we did not include error handling for cases such as an invalid operation called for the current state.
为了简单起见,我们并未包含处理对当前状态无效的操作调用等情况的错误处理。
应用推荐