在查询运行时,尝试在雇员ID上执行字符串比较将遭到失败,并产生一个类型错误。
Any attempt to perform a string comparison on an employee ID will then fail with a type error at query run time.
运行这种方法会产生一个错误,您会得到如图10 所示的信息。
Running this method results in an error, and you can get the information shown in Figure 10.
带启用断言检查运行程序产生下面的错误报告
Running the program with assertion checking enabled produces the following error report
如果出现某个book拥有多个price子元素,则运行时查询将失败,并产生错误。
If a book with more than one price child element is encountered, the query fails at runtime with an error.
简单地运行两次会产生错误,因为相同的星星名称(作为表的主键)使用了两次,则会由于重复的主键值导致错误。
Simply running it twice will produce an error, because the same star names (which are the primary key for the table) are used again, causing an error with duplicate primary key values.
完成这个过程之后,开发人员接到反馈,然后运行第二个构建过程,这个过程的运行时间比较长,但是只产生百分之20的构建错误。
After this process is complete and developers have received feedback, then run secondary builds that may take longer to run but may yield 20 percent of other build errors or relative priority.
有了清单11中编写的新的行为方法之后,现在可以来运行它 —但是这时会产生一个错误,如清单 13 所示。
With the new behavior method coded in Listing 11, it's time to run it — but doing so indicates a failure, as shown in Listing 13.
如果的确如此,那么就会产生一个运行时错误。
如果不是这样,在运行时会产生数据转换错误。
If this is not the case, there will be data conversion errors during runtime.
产生的构建过程将运行测试和软件检查,并在错误发生时尽快报告。
The resulting build process will run both tests and software inspections and will report back violations almost as quickly as they occur.
这是因为在编译时会引用新版本中添加的 ABI,这在安装旧版本 GTK+ 的系统上会产生运行时错误。
This is because any ABI additions from later versions will be referenced during compile time, generating runtime errors on systems with an earlier version installed.
如果存在fencepost错误(超过数组末尾运行),程序就会产生保护错误,并立即结束。
If there is a fencepost error (running off the end of an array), your program will immediately exit with a protection error.
例如,虽然在运行时可以将double类型的变量映射到xml类型的表列,但是这可能导致不可预测的运行时结果,并因此而产生错误。
For example even though at design time a variable of data type double can be mapped to a table column of type XML, the run time consequences are unpredictable and hence resulting in errors.
这意味着,加载到IE中的扩展可能会由于新版本的CLR而产生不可预知的行为,或者由于老版本CLR已经在运行了,而产生错误。
This means a given extension could have unexpected behavior caused by a newer CLR or even fail to load if an older CLR was already running.
该类型的不匹配产生的主要问题是在运行时会产生失败,但也不会一直失败,这使得取样测试(sniff test)可能会遗漏错误。
The major issue with this type of mismatch is that the failure happens at run time and will not consistently fail, making it possible for a sniff test to miss the problem.
但有时,程序运行完毕却产生错误的结果。
Other times, the program completes but produces erroneous results.
要注意只有最后一个会引起运行错误,其他的三个都是合法的,但产生错误的效果。
Notice that only the last one causes a runtime error; the other three are legal, but they do the wrong thing.
相当于错误将只在运行时产生的第二个版本。
The equivalent error will only be generated at run time for the second version.
警告:此网页包含有在与动态动画脚本同时运行时可能会产生错误的脚本。
Warning: this page contains script (s) that could cause errors when run with the dynamic animation scripts.
试图获取不存在的元素必须产生运行时错误。
Attempting to fetch an element that doesn't exist is a run-time error.
试图获取不存在的元素必须产生运行时错误。
Attempting to fetch an element that doesn't exist is a run-time error.
应用推荐