If at any point in the code, an error occurs such that processing cannot continue, we retrieve the system error message (if any), and display it along with our own message.
如果代码中任何一处出现了使处理不能继续进行之类的错误,那么我们会检索系统错误消息(如果有的话),然后将它与我们自己的消息一起显示。
In our exercise, you'll be using two more functions to do error processing after a database operation.
在我们的场景中,在执行数据库操作之后,要使用另外两个函数进行错误处理。
The error log contains diagnostic information and records any errors that it encounters in processing requests.
错误日志包含诊断信息,并记录在处理请求时遇到的任何错误。
Despite the apparent success of the code in Listing 13, there's still a problem — what if the server responds to your request and finishes processing, but reports an error?
虽然清单13中的代码看起来似乎不错,但是还有一个问题——如果服务器响应请求并完成了处理但是报告了一个错误怎么办?
In addition, it provides functions such as message logging, augmenting messages with data from a database, and error processing that is tailored to your requirements.
此外,它还提供了一些其他的功能,如消息记录、使用数据库中的数据扩充消息、以及根据您的需要定制错误处理。
If there is an error in the processing, an exception is thrown, which is then also formatted as JSON.
如果处理过程中出现错误,将抛出一个异常,这个异常也被格式化为json。
In other words, your program should be able to recover from this sort of error rather than having to stop parsing and processing.
换句话说,程序应该能够从这类错误中恢复,而不是停止解析和处理过程。
At first, the logic behind this sounds reasonable: If you change this data element from optional to required, you essentially duplicate error processing that occurs elsewhere in the system.
首先,整个过程背后的逻辑是合理的:如果您将这项数据元素从可选改为必需,那么您基本上就是复制了系统中其他地方所使用的错误处理过程。
In WCF applications, service methods communicate processing error information by using fault messages.
在WCF程序中,服务方法通过使用出错信息来交流处理的错误。
However, whether or not an error occurred in the processing of the message is a whole different story.
但在消息的处理过程中是否发生了错误就完全是另一回事了。
In the processing function, you get a pointer to the YYLTYPE structure holding the location, and you can generate a nice error message.
在处理函数中,我们获得了一个指向保存了位置信息的YYLTYPE结构的指针,这样可以生成一条很好的错误消息。
Along those lines, then, I'll look at the ErrorHandler interface in the next tip, and explain how it can add error handling and reporting capabilities to your XML processing with SAX.
然后,沿着这个方向,我将在下一个技巧中分析Error Handler接口,并解释如何用SAX在XML处理中加入错误处理和报告能力。
In the policy canvas, as shown in Figure 21, you can define message processing request, response, or error rules.
在策略画布中(如图21所示),您可以定义消息处理请求、响应或错误规则。
Using the approach in Listing 1, the script exits if there is any error in the copy process, thus not allowing the script to carry on processing if there is an error.
在使用清单1中的方法时,如果复制过程发生任何错误,那么脚本将退出,以阻止脚本在出现错误后继续执行。
Explicit error-handling code in the body of the procedure is then used to do the error processing.
然后,使用过程体中的显式错误处理代码进行错误处理。
This tends to be more powerful and more flexible, in particular with respect to error processing.
这样更强大并更灵活,尤其是在错误处理方面。
Utility error processing solution has been added. This enables you to read data within UDMA mode for cases where previous version could read the data only in PIO mode.
实用程序的错误处理解决方案已添加。这使您可以读取数据,在UD MA模式情况下,以前的版本可以读取数据仅在PIO模式,。
This communication card supports the CAN2.0 protocol, and greatly improves performance of all sides, especially in error processing, overload ability and acceptance filter and so on.
该通讯卡实现了CAN 2.0通讯协议的所有功能,并且各方面的性能都有了很大的提高,尤其是在错误处理、超载能力以及接收滤波等方面。
A better error-handing facility included for faster exception processing resulted in revenue savings.
包含了更好的错误处理工具,能够更快地进行异常处理,从而提高了收益。
The methods for image processing designed in the article are the exploring of application of digital image analysis in the intaglio printing error detecting.
本文设计的图像处理方法是对图像分析用在凹版套印误差检测中的初步尝试与探索。
In this paper dynamic measurement data processing is used to separate the results of measurement, systematic error and the random error.
本文拟通过动态测试数据处理来分离测量结果、系统误差和随机误差。
An error in processing one of the web service methods (which does not enable the method to finish successfully) is exposed as a SOAP exception that your code can catch.
处理一个网络服务器方法过程中(不能够使方法成功地完成)的某个错误除了能捕获你的代码外显示为SOAP。
Robust regression analysis and minimax residual error analysis are two aspects in data processing of dynamic measurement.
在动态测试数据处理中,常常要进行稳健回归分析和最小最大值回归分析。
Requested action aborted. Local error in processing.
请求的操作中止。处理中发生了本地错误。
In multimedia signal processing, quantization error is a function of input signal and it results in the audible distortion and noise modulation in the audio signals.
在多媒体信号处理中,由于量化误差是输入信号的函数,使得语音信号产生信号失真和噪声调制。
Error in batch input processing.
在批输入处理中产生错误。
This article introduced the methods of data acquisition and processing by computer for machining error, and settled the problem of real time graph output in the manufacture process.
介绍应用计算机进行加工误差的数据采集与处理的方法,同时解决了企业生产过程中进行误差跟踪的实时图形绘制问题。
A new calculation method was used in order to avoid increasing calculation error in the data processing of the rotating disc electrode.
本文在旋转圆盘电极数据处理中,为避免增大计算误差,采用了新的计算方法。
A new optical system is designed for the material surface temperature-measuring device used in laser processing. The measurement error analysis and conclusions are presented.
通过解决激光加工中材料表面温度测量装置的难点,设计了一套新型光学系统,并给出了测量误差分析及结论。
Introduce several methods of digital percolate ave, nonlinear compensate and error correction, as well as zero error and automatic trace processing method in this article.
本文简要介绍了数字滤波的几种方法,非线性补偿及误差修正的几种方法以及零点漂移问题的自动跟踪处理方法。
应用推荐