In this case, I introduced an error to the code generation handling a collection, adding an extra item to the stack in the body of the item unmarshalling loop.
在这个示例中,我在处理集合的代码生成中引入了一个错误,在项目反编排循环的循环体中,向堆栈添加了一个额外项目。
Now that we have bound the output data, we will add some action handling code.
现在我们已经绑定了输出数据,将添加一些事件处理代码。
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绑定,允许用户指定绑定配置并编写自己的数据处理代码。
Some back-end daemon process listening for messages posted to the input queue would receive the message and dispatch it to some piece of code capable of handling the message.
侦听发送到输入队列的消息的某个后端守护程序进程将接收此消息,并将其分派到可以处理此消息的某段代码。
Either way, you must actually activate the security handling in your client code.
不管哪种方法,实际上您必须在您的客户端代码中激活安全性处理。
Not only does the additional error handling make the code more robust, but it also helps with readability and understandability.
额外的错误处理不仅使代码更加健壮,它还提高代码的可读性,使代码更容易理解。
To avoid distractions I've ignored exception handling in the code.
为避免分散注意力,我已在代码中忽略了异常处理。
Whatever choices you make, though, it begins with handling the status code returned from the server.
然而不管采用哪种选择,都需要从对服务器上返回的状态代码开始入手进行处理。
The exception handling takes as much time as the code itself.
异常处理与代码本身所用时间一样多。
In this article, I have shown you how document handler code, developed for handling the different elements in a parsed XML file, can be simplified by creating separate classes for each element.
本文展示了在需要处理已解析XML文件中不同元素的文档处理程序代码中,如何通过为每种元素创建单独的类来简化编码。
The third bold section contains code for handling database failover and connection switching.
第三段加粗的代码用于处理数据库故障转移和连接切换。
Only if no explicit logon data is provided the code should try handling SSO.
只有在没有提供显式的登录数据的情况下,代码才应该尝试处理SSO。
More error handling and clean-up code is required.
需要更多错误处理和清理代码。
The handling code would process the request and prepare some response message that is posted to an output queue.
处理代码将处理请求,并准备要发送到输出队列的响应消息。
The trigger handler code for handling a subscription in INS V2.2 is much different.
INSV2.2中用于处理订阅的触发器处理程序代码有很大不同。
This way your code isn't tied to any particular XML handling API.
这样你的代码就不依赖任何特殊的XML处理API了。
First and foremost, you've got to actually write error handling code.
首先,实际上您已经编写了错误处理代码。
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指针或错误的引用,却没有查出无效引用的真正原因。
This base class adds functionality for testing GWT code as well as handling some of the plumbing to get a GWT component up and running.
该基类添加了一些功能,可测试GWT代码并处理某些基础实现从而启动并运行GWT组件。
There's no error handling in this code, but note that you would need it in a real-world application.
这段代码中没有错误处理功能,但要注意,实际应用程序需要此功能。
The resulting code for handling all aspects of this lookup was straightforward but rather unwieldy, especially if you happen to have multiple tables that you want to use throughout a transform.
处理这类查找的代码非常简单但是相当笨拙,尤其是在转换中使用多个表的时候。
Handling errors properly makes your code more robust.
适当地处理错误会使代码更加健壮。
Listing 13. Handling a zip code.
清单13.处理邮政编码。
InfoQ: it seems like the longlife GC patch is the first step towards a generational GC, particularly the introduction of code for handling write barriers and remembered sets.
InfoQ:看起来这个补丁将会是迈向新一代垃圾收集器的第一步,尤其是关于处理写屏障和可记忆化集合的代码介绍。
Furthermore, the bean developer doesn't actually have to write any code for handling transactions, such as deciding when to invoke the commit method and what to do if it fails.
此外,bean开发人员实际上不需要编写任何用于处理事务的代码,比如确定何时调用commit方法以及调用失败时该如何处理。
Digging deeper, Listing 10 presents the event handling code for various components. For example.
清单10显示了针对各种组件的事件处理代码,例如。
To write bug-free code, practice care in handling process-wide global variables like errno and h_errno. Consider the following code.
为了编写没有bug的代码,要特别小心处理进程范围内的全局变量,如errno和h_errno。
The complexity of the code for handling parameters, as well as its pervasiveness and quantity, suggests that it should be treated as a first-class citizen within Struts.
处理参数的代码的复杂性,以及它的广泛性和数量,意味着应该将它当做Struts中的一等公民。
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处理。
While conventional exception handling procedures save exception information in every Action class, best practice 4 aims to avoid redundant code while handling exceptions.
传统的异常处理过程在每个action类中保存异常信息,而最佳实践4则在处理异常时避免冗余代码。
应用推荐