First and foremost, you've got to actually write error handling code.
首先,实际上您已经编写了错误处理代码。
It ensures mutual exclusion among threads but also interrupt handling code.
可以保证线程与中断服务代码的互斥。
Assertion statements are not a substitute for error-handling code, however.
但是断言语句不是错误处理代码的替代物。
When methods return error values, every method call is surrounded by error-handling code.
在方法返回错误值时,每一个方法调用都要包含错误处理代码。
The last thing we need to do is add some error-handling code for uploads larger than 1mb.
最后,我们需要对大于1MB的上传文件进行错误处理。
Digging deeper, Listing 10 presents the event handling code for various components. For example.
清单10显示了针对各种组件的事件处理代码,例如。
This allows you, for example, to disable event handling code on only certain macro projects.
例如,这可让您只停用特定巨集专案的事件处理程式码。
The other rather significant benefit of exceptions is that they clean up error handling code.
另外一个关于异常处理的重大意义就是它使得错误处理的代码更加有条理性。
Explicit error-handling code in the body of the procedure is then used to do the error processing.
然后,使用过程体中的显式错误处理代码进行错误处理。
The code would be a lot bigger and therefore harder to read because of all the error-handling code.
由于需要这么多错误处理代码,该代码可能更大,因此更难阅读。
We recommend that you add security and error-handling code to make your projects more secure and robust.
我们建议您添加安全性代码和错误处理代码,以使项目更加安全可靠。
The handling code would process the request and prepare some response message that is posted to an output queue.
处理代码将处理请求,并准备要发送到输出队列的响应消息。
The container handles the transactions, so the bean developer doesn't need to write transaction-handling code.
容器处理事务,因此bean开发人员不需要编写事务处理代码。
We recommend that you add security and error-handling code to your projects to make them as secure and robust as you deem appropriate.
我们建议您在项目中添加安全性代码和错误处理代码,以使项目达到您预期的安全性和可靠性标准。
NET page runs as a unit, combining the server-side elements in a page, such as controls, with the event-handling code you have written.
NET页作为一个单元运行,它将该页中的服务器端元素(如控件)与您编写的事件处理代码结合在一起。
Now we have looked at all of the data handling code. You have seen how to invoke a remote Web service and how to parse the XML that it returns.
现在我们已经了解所有数据处理代码,知道如何调用一个远程Web服务以及如何解析该服务返回的XML。
Special kinds of imports and exports for JMS, called JMS bindings, enable users to specify the binding configuration and write data handling code themselves.
JMS的特殊类型的导入和导出,称为JMS绑定,允许用户指定绑定配置并编写自己的数据处理代码。
Figure 6 shows the same error as in Figure 5, but this time the error-handling code gives a much better picture of what happened to the user or programmer.
图6给出了与图5相同的错误,但是这一次错误处理代码向用户或程序员更好地说明了究竟发生了什么。
By placing exception handling code in your application, you can handle most of the errors users may encounter and enable the application to continue running.
通过在应用程序中放置异常处理代码,可以处理用户可能遇到的大多数错误并使应用程序能够继续运行。
Use the code Commenter and error Handler Add-in to automatically add comments and standardized error handling code to procedures using customizable templates.
和错误处理程序外接程序,可以自动向使用可自定义模板的过程中添加注释和标准化的错误处理代码。
JAX-WS, the core platform, USES Tube as a basic processing unit that represents SOAP-level protocol handling code such as MustUnderstand and WS-Addressing processing.
JAX - WS是核心平台,它使用Tube作为基本处理单元,表示SOAP级别的协议处理代码,如MustUnderstand,WS - Addressing处理。
As you switch from the Mail view to the Contacts view, a separate full page is not loaded, and hence the view-handling code doesn’t need to be reloaded or even reparsed.
当您从Mail视图切换到Contacts 视图时,不会另外加载一个完整的页面,因此不需要重新加载或解析视图处理代码。
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指针或错误的引用,却没有查出无效引用的真正原因。
Exception handling is a runtime-error notifying mechanism. It separates the error handling code from normal code and makes software do its utmost to run on the normal state.
异常处理机制是一种运行时错误通知机制,将程序的正常控制代码和错误处理代码分离。
For example, Listing 3 creates a function in the ZipMap class that looks up the name of a city given its ZIP code (error and exception-handling code are ommitted for brevity).
例如,清单3在ZipMap类中创建了一个函数,通过给定的ZIP代码查找城市名称(为了简便起见,省略了错误和异常处理)。
When multiple families are identified, the second and subsequent font families serve as fallback families, handling code points that are not supported by the first font family.
当标识了多个系列时,第二个系列与后续的字体系列充当备用系列,并处理第一个字体系列不支持的码位。
We will also set up all the dynamic data we will need for the page, and write Action Handling Code to call an existing EJB component using the Quick Edit feature of WebSphere Studio.
我们也将设置页面需要的所有动态数据,并使用WebSphereStudio的QuickEdit功能编写ActionHandling Code调用现有的EJB组件。
The result is minor bits of scattered fault handling code and implicit coupling between the barrier class and the participants although still a great improvement over not using a pattern at all!
结果就是少数零散的故障处理代码,以及屏障类和参与类间暗含的耦合(这已经比不使用模式进步多了!)
Not only does the additional error handling make the code more robust, but it also helps with readability and understandability.
额外的错误处理不仅使代码更加健壮,它还提高代码的可读性,使代码更容易理解。
Handling exceptions natively in the JNI code itself, though unavoidable sometimes, leads to performance degradation.
使用JNI代码本地处理异常,尽管有时不可避免地会导致性能下降。
应用推荐