An exception is raised by throwing an object.
异常是通过抛出对象而引发的。
An exception is called a name error exception.
一个被称作命名错误的异常。
When an assertion fails, an exception is thrown.
当断言失败时,就会抛出一个异常。
In the case of failure, an exception is raised and handled.
如果失败,会抛出一个异常并予以处理。
If the key doesn't exist in the dictionary, an exception is thrown.
如果在字典中不存在该键,就抛出一个异常。
An exception is x86 systems, which are emulated via the qemu binary.
一个例外是x86系统,它通过qemu二进制文件模拟。
Otherwise, an error message is displayed if an exception is encountered.
另外,如果出现异常则显示出错消息。
An exception is thrown on the garbage collection thread when you use SQL providers.
使用SQLprovider时,垃圾回收线程抛出异常。
An exception is ultimately used by being raised from an operation. Here is an example.
最终是从方法中使用异常。
The method executes and either an object is returned, if successful, or an exception is thrown.
执行该方法,如果成功会返回一个对象,否则抛出异常。
An exception is gold, with new finds still to be exploited and the price holding up fairly well.
黄金是个例外,新矿在继续开采,金价涨势也很看好。
If a match is found, a new instance of the ConfigMethod is created; otherwise, an exception is thrown.
如果找到匹配,则创建ConfigMethod的一个新的实例;否则,抛出异常。
If there is an error in the processing, an exception is thrown, which is then also formatted as JSON.
如果处理过程中出现错误,将抛出一个异常,这个异常也被格式化为json。
An exception is thrown if you attempt to view or modify a property that is not valid for the version.
如果你试图去查看或者修改该版本不适用的属性时,会出现异常。
Because the value of value is out of range, an exception is thrown that is caught in the catch block.
因为value的值超出了范围,所以抛出了一个被catch块捕获的异常。
Throw exception: If an error is encountered, an exception is thrown and the operation is not performed.
Throwexception:如果突然出现一个错误,抛出一个异常,操作不能执行。
Notice that an exception is thrown when a containing folder is specified but the connector does not support one.
注意,如果指定了包含此条目的文件夹,但是连接器不支持这种做法,那么抛出异常。
If an exception is thrown during the second try statement, notice that the result variable gets set to false.
如果在第二个try语句运行期间抛出异常,那么请注意,result变量被设置为false。
An exception is the function ST_Distance, which must be used in a less-than comparison with an arbitrary distance.
一个例外是ST_Distance函数,它必须出现在针对一个任意距离的小于比较式中。
In C++, whenever an exception is caught within a handler, the information about the source of the exception is lost.
在 C++中,无论何时在处理程序内捕获一个异常,关于该异常来源的信息都是不为人知的。
If the database doesn't exist, an exception is thrown, and the DBManager constructor creates the database itself.
如果数据库不存在,将抛出一个异常,并且DBManager构造函数自己将创建数据库。
An exception is a signal that some sort of exceptional condition, such as a "file not found" error, has occurred.
异常像是一种异常情况时软件发出的信号例如“Filenotfound”错误的发生。
The context is obtained by comparing the case at hand with the case in the node where an exception is being added.
可以通过对比手头的案例与已添加异常的节点中的案例来获得上下文。
Lotus Connections displays an error page (see figure 3) when an exception is thrown during the execution of a function.
当在执行一个函数期间抛出一个异常时,LotusConnections就会显示一个错误页面(见图3)。
The key difference is that an exception is raised only if required information is missing - anything else could change.
关键的区别在于,异常只在必要信息缺失的情况下抛出——其它东西都可以有变更。
An exception is Nick Thorpe, who moved to Budapest in 1986 and has mastered Hungary's beautiful, impenetrable language.
NickThorpe则是个例外。1986年此人移居布达佩斯,掌握了匈牙利深奥美丽的语言。
To see if an exception is raised in a certain line of code, you can add an assert false statement just after that line.
要查看在某行代码中是否抛出异常,您可以直接在这行代码之后加入assertfalse语句。
An exception is if you can show it can't happen — but often programs are changed over time that make the impossible possible.
能够容易看出来的异常就不可能会发生——但是程序通常会随时间而变更,从而使得不可能成为可能。
If an exception is thrown by the JS interpreter, the message will typically be extremely cryptic due to the nature of JS minification.
如果异常被JS解释器抛出,异常消息因为JS的简化通常晦涩难懂。
Finally, consider that if UpdateCommand isn't defined, CanUpdate returns false and an exception is thrown if you try to submit changes.
最后,考虑这种情况:如果没有定义updatecommand,却提交更改,那么canupdate返回值为假,并引发一个异常。
应用推荐