提供此类基础设施中对异常条件的容错能力。
Improve tolerance of exceptional conditions in such an infrastructure.
mock最常见的用途之一是测试异常条件。
One of the more popular USES of mocks is to test exceptional conditions.
因此新的方法更适合容易出现异常条件的情况。
The newer methods are thus more for when the exceptional condition is the norm.
数据采集和由此产生的异常条件不是一个业务关注点。
Handling data acquisition, and exceptional conditions that may result from it, is not a business concern.
当流程遇到异常条件或者自己本身不能处理时,也可以抛出错误。
Processes may also throw Faults, when an exceptional condition is met that cannot be handled within the process itself.
Filter节点用于仅选择希望在延迟后重新进行处理的异常条件(其他条件将直接送到Trace节点)。
A Filter node is used to select only those exception conditions that we want to reprocess after a delay (the others are just sent to a Trace node).
通常,诸如jdbc和JPA等数据访问API仅提供有关异常条件的非常一般的信息,并且不支持有效地确定特定的问题根源。
Often, data access APIs such as JDBC and JPA provide only very generic information about the exception condition, and do not allow the specific cause to be effectively identified.
您的信号给供应商,要满足他的条件和在某些情况下,例如,你可以准备好了价格的上涨(在这里,你应该使用异常条件)。
You signal to your supplier that you want to accommodate his conditions and e. g. under certain circumstances you could be ready for a price rise (here you should use the conditional as an exception).
设计师们花了一年多的时间选择和测试理想的材料,最终挑选出一种能够抵御月球上异常恶劣条件的新型材料。
Designers spent more than one year choosing and testing ideal materials, and finally picked a new kind of material that can resist the very difficult conditions on the Moon.
如果跳转请求跨过这些分支,则可能会违反这些条件,并可能会导致意外的行为和异常。
If a jump request crosses these branches, these conditions may be violated and this may result in unexpected behavior and exceptions.
当队列是空的时候,读线程现在并不抛出异常,而是在条件变量上阻塞自身。
Instead of throwing an exception when the queue is empty, the reader thread now blocks itself on the condition variable.
首先,不是所有受控异常都是不好的;它们可用于事件通知或根据某些条件重定向处理。
First of all, not all checked exceptions are bad; they might be used for event notification or to redirect processing based on certain conditions.
异常抛出错误条件实际上是实现需求(见以下部分),应该在“需求”或“实现注意事项”部分中列出。
An exception-toss error condition is really an implementation requirement (see below) and should be listed in the "Requirements" or "implementation notes" sections.
它将在条件满足时停止等待,或者在超出最大等待时间时返回一个超时异常。
It will stop waiting if the condition is fulfilled, or return a timeout exception if it exceeds the maximum waiting time.
最后,本文列出了可能发生的错误条件,并说明如何从操作的角度识别它们(失败事件管理器、异常队列等等)。
Finally, it highlights the error conditions that can occur and shows how they can be identified (Failed Event Manager, Exceptions Queues, and so forth) from an operational point of view.
相反,您应该对此类条件使用未经检查的异常,以便能够可选地处理这些条件。
Instead, you should use unchecked exceptions for such conditions, so that you can optionally handle these conditions.
IDL允许创建异常来指出错误条件。
IDL allows you to create exceptions to indicate your error conditions.
当第一个软目标的条件显著更改时,分析人员可以添加新的异常或从第二个目标中去掉现有的异常。
When conditions for the first soft goal significantly change, the analyst can add new exceptions or subtract existing exceptions from the second goal.
但环保署可能坚持认为加州面临的情形并非“迫切和异常”,而法律又要求在实施更为严厉的标准之前,必须满足这一条件。
But it might argue that California does not face the "compelling and extraordinary conditions" the law requires before stricter standards can be imposed.
因为所有的操作、条件和异常都来自于MailRule文档,所以使用Document对象来初始化对象。
Because all of these (actions, conditions, and exceptions) come from the Mail Rule document, the objects are initialized with a document object.
业务规则评估的结果显示是否符合这些条件,或者存在异常。
The business rule assessment results in output that shows whether these conditions are met or if exceptions exist. It should answer the following questions
MailRule对象包含了(MailRule文档中的)操作、条件和异常的列表。
The MailRule object contains lists for the actions, conditions, and exceptions contained in the Mail Rule document.
如果不满足条件,您可以使用Throw节点引发一个异常。
If the criterion is not met you can raise an exception using the Throw node.
每一个条件构造,如if、switch、while和for语句,都被分配一个1值和异常路径。
Conditional constructs such as if, switch, while, and for statements are each given a value of 1, along with exception paths.
你可以认为异常所具有的功能是条件系统的一个子集。
Well, you could say that exceptions provide a subset of the functionality of a condition system.
还可以为任务创建第二个输出,并使用输出逻辑选项卡将其标记为异常输出而不是正常输出条件,如图21所示。
You can also create a second output for a task and use the output logic TAB to mark it as an exceptional output rather than a normal output criteria, as Figure 21 shows.
某些派别的信徒支持使用异常来检查参数和其他的前置条件,使用错误编码来报告程序中出错的处理。
Some disciples espouse using exceptions to check parameters and other preconditions, and error codes to report processing errors within the function.
将异常处理改为断言去掉了前置条件赐予的保护膜。
Changing the exception to an assertion removed the blessed protection of the precondition tests.
原来的JAXB代码无条件地验证文档的结构,如果发现错误,则抛出异常并中止处理。
The original JAXB code unconditionally verified the structure of documents, throwing an exception and aborting the processing if an error was found.
另一项重要遗产是公共意识——这种意识是解决问题的先决条件,也是我们迫切需要且一直以来都异常欠缺的。
The other important legacy is public awareness — awareness is a prerequisite for the solutions that we so badly need, and arguably what has been most lacking.
应用推荐