当XM遇到错误时,它抛出这个异常。
XMException XM throws this exception when it encounters an error.
但当没有发现它抛出异常。
如果在上下文节点中有任何属性,它抛出一个错误。
Which raises an error if there is any attribute under the context node.
视频捕捉到了迫降的危机瞬间,从画面可以看到,在飞机在河面滑行时,它抛出了巨大的水雾。
Video footage of the crash landing captured the moments when the plane threw up a spray as it slid across the river.
然后,因为选择器数组没有改变,与原型法和循环再次运行它抛出一个错误,因为现在在DOM元素不是。
Then, because the selector array hasn't been changed, the loop runs again with the prototype method and it throws an error because now the element isn't in the DOM.
“深度冲撞”号于2005年第一次造访了彗星Tempel1,为了分析该彗星的构成,它抛出了一个冲撞器。
Deep impact first visited comet Tempel 1 in 2005, crashing an impactor into the comet to help scan its composition from afar.
程序有内存泄漏的第一个迹象通常是它抛出一个OutOfMemoryError,或者因为频繁的垃圾收集而表现出糟糕的性能。
The first sign that your program has a memory leak is usually that it throws an OutOfMemoryError or starts to exhibit poor performance because of frequent garbage collection.
否则,它应抛出异常。
这个响应会抛出一个异常,因为温度的值不是浮点类型—它实际上是一个字符串。
This response should throw an exception because the temperature value is not a float type — it is actually a string.
使用这个比较器的方法合理地依靠它来比较两个文件,而不抛出任何异常。
Methods that use this comparator legitimately depend on it to compare two files, without throwing any exceptions.
本文是系列中四篇文章的第二篇,它考察了一般在运行应用程序时抛出的各种类装入异常。
This article, the second in a series of four, looks at the various class loading exceptions typically thrown when running applications.
因此,如果调用或范围抛出错误,则对该活动的补偿操作就无法运行,原因是它根本就没有完成其工作。
Therefore, if a scope or an invoke throws a fault, compensation for that activity cannot run since it never completed its work.
抛出时它包含了一个未更新的(主题或响应)ID列表。
When thrown, it contains a list of IDs (either topics or responses) not updated.
然而遗憾的是,其失败模型是把双刃剑,它并不会抛出应用崩溃异常,而是将绑定错误直接写到追踪监听器当中。
Unfortunately its failure model is a double-edged sword. Instead of throwing application-crashing exceptions, binding errors are quietly written to the trace listener.
当连接器在搜索中遇到无效文字时,它应该抛出异常,通知用户不能搜索这个值。
Whenever your connector encounters an invalid literal in a search, it should throw an exception informing the user that this particular value cannot be searched on.
公平的说,他的观点还是有一定价值的,尤其在当今这个世界上,厂商不断地抛出“Cloud”这个词儿,好像它马上就要过时了一样。
And to be fair, there is merit to his arguments, particularly in a world in which marketers are increasingly throwing the term "cloud" around like it's going out of style.
当一个阻塞方法检测到中断并抛出InterruptedException时,它清除中断状态。
When a blocking method detects interruption and throws InterruptedException, it clears the interrupted status.
当那个错误被抛出,catch块将会拦截它,并再次调用AskQuit,通知您不能创建目录,并询问您是否依然想要继续。
When that error is thrown, the catch block will intercept it and will call AskQuit again, informing you that the directory could not be created, and asking whether you still want to continue.
然而,更多时候,却应该调用click方法,因为此方法也会作为事件抛出,而且它更符合预期的行为,更不容易出错。
However, often times the click method should be called instead, since it will also be thrown as an event, and it is more in line with expected behavior and is less error prone.
方法捕捉其他异常(比如MalformedURLException和IOException)并抛出定制的异常,让GWT客户机可以捕捉到它。
The method will catch other exceptions such as MalformedURLException and IOException and throw the custom exception so that it can be caught by the GWT client.
当我运行清单8中的行为时,一切如预期运行:由于栈中没有存在任何值(因此它的大小不大于0),于是抛出一个异常。
When I run the behavior in Listing 8, things work as expected: Because the stack isn't holding any values (hence, its size isn't greater than zero), an exception is thrown.
如果将属性声明为private并试图从类范围外部访问它(如清单7所示),PHP引擎将抛出致命错误。
If you declare your properties private and attempt to access them from outside the class 'scope (as shown in Listing 7), the PHP engine will throw a fatal error.
因为T:PublicAccess无法控制其所处的环境,所以它并不使用断言,而是抛出一个异常给它的调用者,而这些调用者处理这个异常的方式也各有千秋。
Because t: : PublicAccess has no control over its environment, it does not use an assertion, but instead throws an exception to preach to its callers about the errors of their ways.
可以抛出您需要的任何类型的异常(已检查、运行时或错误),只要方法签名支持它即可。
You can throw any kind of exception you like - checked, runtime, or error - as long as the method signature supports it.
一个链式异常是这样一种异常,它允许您将一个“成因”异常附加到正在抛出的异常。
A chained exception is one that allows you to attach a "causative" exception to the exception being thrown.
服务能够抛出的每一个可能的错误都必须显式地用xml定义,否则,客户端将不认识它并且不能进行接收。
Every possible fault that a service can throw must be explicitly defined in the XML, otherwise the client will not know about it and will not be able to receive it.
但我们同样知道,即使在当下我们可以将这痛苦抛出脑海,最终它仍然会到来,狠狠的击中我们并扰乱我们外在的平静。
But we know that even if we can manage to put it out of our minds for the present, it will eventually come around and bite us on the butt and disturb our external calm demeanor.
对于抛出未检测异常的侦听器,您可能想自动对它取消登记,毕竟,抛出未检测异常就证明侦听器坏掉了。
You might even want to automatically unregister a listener that throws an unchecked exception; after all, this is evidence that the listener is broken.
很容易想到,将飞船撞上月亮只需要把它向正确的方向抛出即可——就像,比如说,抛一个球或发射一枚火箭。
It is easy to imagine that crashing a spacecraft into the moon involves little more than flinging it in the right direction - much like, say, throwing a ball or firing a missile.
很容易想到,将飞船撞上月亮只需要把它向正确的方向抛出即可——就像,比如说,抛一个球或发射一枚火箭。
It is easy to imagine that crashing a spacecraft into the moon involves little more than flinging it in the right direction - much like, say, throwing a ball or firing a missile.
应用推荐