图4展示了应用程序是如何处理验证和数据转换错误的。
Figure 4 shows how the application deals with validation and data conversion errors.
最后,如果亲自指定映射,而不是让框架处理映射,就可能在数据绑定中遇到更多的错误。
And finally, you'll encounter a lot more errors in data binding, as you specify the mapping yourself rather than let your framework handle it.
这不能保证服务可以处理无效数据,因此将出现一个运行时错误。
There is no guarantee that the service can handle data that is not valid, so a runtime error can occur.
测试数据必须能够反映应用程序处理限制、错误和限制条件。
The test data needs to be reflective of application processing constraints as well as error and boundary conditions.
虽然这种验证能捕获很多错误,但是对于需要进行数据处理以判断是否编写了不合情理而语法正确的内容这样的场景,这种验证就毫无帮助了。
While this catches a lot of errors, it doesn't help with scenarios where data processing is required in order to determine that something nonsensical, yet syntactically valid, has been written.
KPI历史记录请求是异步的;可以在验证数据并完成错误处理后发出事件。
The KPI history requests are asynchronous; an event can be dispatched after you have verified the data and finished the error handling.
在客户端,SQL- 55555e被拦截,并建立到包含数据的最佳服务器的连接——客户机不需要多任何事情来处理错误。
On the client side, the SQL-55555E is intercepted and a connection is established to the optimal server that contains the data — the client doesn't need to do anything to handle the error.
这就是SAX的真正用途所在:在程序中断处理过程并进行修复之前,允许接收可能错误的数据或者错误状态。
That's where SAX can really help: it allows you to receive possibly bad data or error conditions before the program halts processing and gives you a chance to make course corrections.
通过MapReduce的抽象,google工程师可以简单地进行运算,而不必考虑并行运算的细节、数据的分配、负载平衡和错误处理。
MapReduce is an abstraction that allows Google engineers to perform simple computations while hiding the details of parallelization, data distribution, load balancing and fault tolerance.
编程基础(变量,数据类型,引用,指针,作用域,错误处理,迭代,核心算法-搜索,排序等)
The basics of Programming (variables, data types, references, pointers, scope, error handling, iteration, core algorithms - searching, sorting, etc.)
请注意针对后者的错误处理程序可撤销前者所做的工作,以使数据不会处在一种不一致的状态。
Notice that the error handler for the latter undoes the work of the former so that data is not left in an inconsistent state.
在我们的场景中,在执行数据库操作之后,要使用另外两个函数进行错误处理。
In our exercise, you'll be using two more functions to do error processing after a database operation.
在下一篇文章中,我将讨论与错误处理复杂的输入数据相关的错误模式。
In the next article, I will discuss bug patterns related to the mishandling of complex input data.
因为没有错误处理逻辑,必须依靠数据库的限制,以确保数据的语义完整性。
Because there is no error handling logic, you must rely on database constraints to ensure semantic integrity of the data.
当客户或主管在指示程序应如何处理格式良好的输入数据时,抓住机会,对万一发生错误时程序的具体操作细节同他们达成共识。
When a client or supervisor dictates how a program should process well-formed input data, take the opportunity to agree in detail on how the program should act in case of error.
此外,它还提供了一些其他的功能,如消息记录、使用数据库中的数据扩充消息、以及根据您的需要定制错误处理。
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.
本文主要关注建立数据库连接以及处理潜在的数据库错误和警告。
This article focuses on establishing the database connection and dealing with potential database errors and warnings.
在XML的世界中,这意味着获取那些可能产生错误的数据并对其进行处理。
In the XML world, that means taking data that might be erroneous and trying to work with it anyway.
首先,整个过程背后的逻辑是合理的:如果您将这项数据元素从可选改为必需,那么您基本上就是复制了系统中其他地方所使用的错误处理过程。
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.
如果就绪状态是4而且状态码是 200,就可以处理服务器的数据了,而且这些数据应该就是要求的数据(而不是错误或者其他有问题的信息)。
With a ready state of 4 and a status code of 200, you're ready to process the server's data and that data should be what you asked for (and not an error or other problematic piece of information).
这有助于减少开发流程,通过有针对性的测试来隔离错误,减少在错误发生时需要重新处理的数据量。
This helps reduce the development process, isolate errors through targeted testing, and reduce the volumes of data that require reprocessing when errors occur.
由于在数据库中存储的信息的重要性,适当地处理数据库错误和警告对于业务是很重要的。
Given the importance of the information you're storing in your database, proper handling of both database errors and warnings can be vital to your business.
乐观事务锁不能用于在单个update语句中更新数据行集合,因此在这种情况下,很难进行错误处理。
Optimistic transaction locking should not be used to update sets of rows in a single update statement, as error handling in this case is very difficult.
UDP数据包可能会丢失,或者不按顺序发送给接收的应用程序;必须在应用程序层进行错误处理。
UDP Datagrams can be lost or delivered in a different order to the receiving application; the error handling must be done at the application layer as well.
当错误数据必须位于SOAP错误的外部时,这特别有用,。例如,如果您在处理批操作时。
This is particularly useful when fault data might be necessary outside of a SOAP fault, for instance, if you're dealing with batch operations.
如果要扩展从本文学到的内容,可以通过加入对关系型更新数据源更详细的错误处理来增强小部件。
To try and expand on what you learned from this article, you could enhance the widget with more elaborate failure handling for the relational update feed.
对于这两种平台上的数据库,您都可以声明错误处理程序,如果带有特殊的错误代码(SQLCODE或SQLSTATE)的sql语句失败,那么该处理程序将判定应采取哪些措施。
For both databases you can declare error handlers that will determine what action are taken if an SQL statement fails with a particular error code (SQLCODE or SQLSTATE).
容易:即使不必处理数据库错误,构建具有servlet、JSP文件和EJB组件的应用程序也够复杂的了。
It's easy: Building an application with servlets, JSP files, and EJB components is complex enough without having to deal with database errors, too.
dar(数据地址寄存器)包含处理器尝试访问的地址,这一行为将引发页面错误。
The dar (Data address Register) contains the address that the processor tried to access, which then caused a page fault.
dar(数据地址寄存器)包含处理器尝试访问的地址,这一行为将引发页面错误。
The dar (Data address Register) contains the address that the processor tried to access, which then caused a page fault.
应用推荐