You can throw any kind of exception you like - checked, runtime, or error - as long as the method signature supports it.
可以抛出您需要的任何类型的异常(已检查、运行时或错误),只要方法签名支持它即可。
However, this can lead to complex error scenarios and hard to resolve performance issues at runtime that cannot be foreseen by operations people.
不过,这在运行时可导致操作人员无法预见的复杂错误场景和难以解决的性能问题。
Visual error detection is just the first stage of runtime analysis.
可见的错误检测仅仅是运行时分析的第一步。
If your code passes the wrong element to the method, the code compiles fine, but might raise a runtime error or silently return no results.
如果代码给方法传递错误的元素,那么尽管代码将编绎良好,但可能会导致运行时错误或者不返回任何结果。
The reason for this change is that if you try to redirect the browser, you get the the runtime error that Listing 18 shows.
之所以作这样的改变,是因为如果您重定向浏览器,将会遇到列表18所示的运行时错误。
These runtime exceptions display the stack trace, so that you can easily find the root cause of the error.
这些运行时异常会显示堆栈跟踪,可以帮助开发人员轻松地找到错误的根源。
If that is the case, a runtime error is raised.
如果的确如此,那么就会产生一个运行时错误。
These modeling modes expose technical details that apply only to the target platform, plus provide an extra level of error checking to ensure that the exported model is correct for the target runtime.
这些建模模式公开仅应用于目标平台的技术详细信息,并提供额外级别的错误检查,以确保导出的模型适用于目标运行时。
The advantage over using value comparisons is that you don't risk a runtime error.
这种方式较之使用值比较的优势在于不会有运行时错误的风险。
Many runtime exceptions to improve common error handling and debugging abilities.
许多运行时异常,用来改进常见的错误处理和调试。
There is no guarantee that the service can handle data that is not valid, so a runtime error can occur.
这不能保证服务可以处理无效数据,因此将出现一个运行时错误。
New keywords may have been added to them that are not in the translation, resulting in a runtime error.
可能向它们添加了翻译中没有的新关键字,这会导致运行时错误。
Let's begin with examples of how to use the Runtime Spy to diagnose and correct a startup coding error.
让我们以一个如何使用RuntimeSpy来诊断和纠正启动代码错误的例子来开始。
Because we now live in the world of OSGi and dynamic runtimes, we want to make sure our plug-in can run without causing a runtime crash or error.
因为我们现在生活在OSGi和动态运行时世界,所以我们想确保插件在不引起运行时故障或错误的情况下运行。
Obviously, this would only be desirable during development — at runtime it would be preferable to log this failure to a log4j error stream or something equally less distracting to the user.
很明显,只有在开发过程中这样做才是理想的——在运行时最好将这个错误记录到log4j错误流中,或者记录到不会影响用户的类似内容中。
This demonstrates that we can return a fault object even if a true runtime error didn't occur.
这显示出,即便未发生真正的运行时错误,我们也可以返回一个fault对象。
This may result in the following runtime error.
这可能导致以下运行时错误。
At worst, the EAR file will build and install successfully, but you will get some obscure runtime error that will take you days to debug.
在最坏的情况下,将成功地构建和安装EAR文件,但是您将碰到某个模糊的运行时(runtime)错误,这将使您花费数天的时间来调试。
In the first release of Rational Software Architect 6.0, any runtime exception or error that was not caught would not be displayed, so you were not easily able to determine why your pluglet failed.
在Rational Software Architect 6.0的第一个版本里,没有被抛出的任何运行时异常或错误将不会显示出来,因此您无法容易的判定为什么pluglet不起作用。
As a result, all errors regardless of the custom class used in Lotus Domino V7.0.2 are treated as AxisFault exceptions at runtime by the client and not as the custom error.
结果,不管在LotusDominoV7.0.2中使用的自定义类是什么,所有的错误在运行时都被客户机视为AxisFault异常而不是自定义错误。
When a solid regression suite is present for testing the application, incorporating a runtime error detection tool such as Purify in it is a smart thing to do.
在测试应用程序时存在稳定的回归测试时,引入类似Purify的运行时错误检查工具就是比较明智的事情。
In such a case, passing on an Order ID, which does not conform to these standards, will obviously result in a runtime error.
在这种情况下,传递一个OrderID,这不符合标准,将会生成一个运行时错误。
Global error handling: the most requested feature by those developing applications for the Flash runtime is a mechanism for global error handing.
全局错误处理:针对Flash运行时进行应用开发的开发者最希望加入的特性就是全局错误处理机制。
To resolve the preceding error, add the path to the Lotus Domino or Lotus Notes program directory in the runtime configuration of your Project Zero application as shown in figures 10 and 11.
要解决之前的错误,将LotusDomino或LotusNotes程序目录的路径添加到ProjectZero应用程序的运行时配置中,如图10和11所示。
Eclipse provides a graphical view of the error log as well, from the error log view, which can be found under the PDE Runtime view category.
Eclipse还从Errorlog视图提供了错误日志的图形视图,Error log视图可以在PDERuntime视图类别下找到。
Those repetitions make the application prone to minor errors (e.g., a mis-spelled class name would show up as an hard-to-debug error at runtime).
这些重复使应用易于出错(例如,一个拼写错误的类名可能在运行时显示为一个难于调试错误)。
Because the package name is different, the search for the new package at runtime results in an error since it isn't bound to the database (as in the previous examples).
由于包的名称不同,在运行时搜索这个新的包时将得到一个错误,因为它没有被绑定到数据库(和在前面的例子中一样)。
If the digital signature cannot be verified, the runtime exits with an error.
如果不能验证数字签名,则运行时退出并给出错误信息。
The second type of error is a runtime error, so called because the error does not appear until you run the program.
第二类错误是运行时错误,之所以称为运行时错误,是因为只有你运行了程序,错误才可能出现。
What kind of error is it: syntax, runtime, or semantic?
想下到底是什么类型的错误:语法,运行,还是语义错误?
应用推荐