However, a well-designed software system should always have a powerful mechanism for handling error conditions.
但一个设计良好的软件系统应该一直有一个强大的机制来处理出错的情况。
In earlier versions of the framework, developers were left to their own devices when handling error situations that occurred in a Struts application.
在Strutsframework以前的版本中,开发人员不得不自己处理Struts应用中发生的错误情况。
In essence, deferreds are a generalization of scheduled callbacks, but allow techniques such as chaining dependent callbacks and handling error conditions in these chains.
实际上,延迟是对象被调度回调的泛化,但它们也允许使用诸如链接依赖回调和在这些链接中进行错误条件处理之类的技术。
Error handling then becomes an issue of implementation and execution.
错误处理成为一个有关实现和执行的问题。
This ends the section on error handling.
至此,错误处理一节全部结束。
So you might use this in your error handling like Listing 9 details.
在错误处理中可以使用这些信息,如清单9所示。
However, asynchronous interaction pushes more complex error handling onto the consumer.
然而,异步交互将更复杂的错误处理推给了用户。
This support provides for improved error handling in a more consistent way.
这项支持允许以更一致的方式实现更好的错误处理。
Listing 10 demonstrates the complete finished program, including all error handling.
清单10展示了完整的程序,包括所有错误处理。
Exceptions provide a whole new way of thinking about error handling.
异常为考虑错误处理提供了一种全新的方法。
This brings me to the second anti-pattern in error handling.
这就带来了错误处理中的第二种反模式。
These utility functions include logging, exception/error handling, and monitoring capabilities.
这些实用功能包括日志、异常/错误处理和监视功能。
This is an implementation of rudimentary error handling.
这是基本错误处理的实现。
It mostly consists of an envelope and error handling.
主要有信封和错误处理组成。
First and foremost, there is no error handling for JSONP calls.
第一,也是最重要的一点,没有关于 JSONP 调用的错误处理。
Crashing, spitting out a "sorry, you're out of luck" message, or printing out a stack trace is not error handling. That is error reporting.
程序中断,并弹出“对不起,您运气不好”的消息或打印出堆栈跟踪,这不是错误处理,而是错误报告。
Many runtime exceptions to improve common error handling and debugging abilities.
许多运行时异常,用来改进常见的错误处理和调试。
Logging is a vital part of a good error handling application.
日志记录是构成出色错误处理应用程序的重要部分。
More error handling and clean-up code is required.
需要更多错误处理和清理代码。
This article looks at validation, error handling, and schemas.
本文考察验证、错误处理和模式。
In this program, we add another function for error handling.
在这个程序中,我们添加了另一个用于错误处理的函数。
Do not over-engineer a common utility for error handling.
不要针对错误处理过度构建某个常用实用工具。
The second part to component level error handling is to do appropriate logging.
组件层出错处理的第二个部分就是要做适当的日志。
First and foremost, you've got to actually write error handling code.
首先,实际上您已经编写了错误处理代码。
And two of them are just for error handling.
其中两个类仅用于错误处理。
The listing shows only the handling for (multi-)linestrings and also omits the error handling for illustration purposes.
出于演示的目的,下面的清单只显示了对(多)行字符串的处理,而省略了错误处理。
LEI administrators will also welcome improved failover and better error handling.
LEI管理员还将欢迎改进的故障转移和更好的错误处理。
Within this application, you are responsible for error handling in case an error is reported by a transaction branch, for example.
在该应用程序中,如果一个事务分支报告了错误,您就要负责进行错误处理。
So fatal errors fall under that second principle of good error handling: error handling isn't disruptive... unless it has to be.
所以,致命错误归于第二个优秀错误处理原则:错误处理是不中断的,除非有必要。
Error handling: the new stored procedure now returns SQLCA with proper SQLCODE and SQLSTATE that is more inline with the error handling framework when using SQL.
错误处理:新的存储过程现在返回带有适当SQLCODE和SQLSTATE的SQLCA,在使用SQL时与错误处理框架更加内联。
应用推荐