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.
为了简单起见,我们并未包含处理对当前状态无效的操作调用等情况的错误处理。
While you may be tempted to write off these problems as user error, you should resist the temptation and plan on handling invalid form submissions gracefully.
您可能会把这些问题看成是用户错误,因此不予理会;您应该抵制诱惑,并着手处理无效的表单提交。
Be sure to incorporate some type of error-handling strategy to handle the chance of client code passing in an invalid index value.
确保结合某一类型的错误处理策略,以处理万一客户端代码传入无效索引值的情况。
Be sure to incorporate some type of error-handling strategy to handle the chance of client code passing in an invalid index value.
确保结合某一类型的错误处理策略,以处理万一客户端代码传入无效索引值的情况。
应用推荐