• With the exception that one of the listeners converts the input string to uppercase, the code for the listeners is exactly the same.

    除了一个监听器将输入字符串转换大写字母之外,监听器代码完全相同

    youdao

  • Whenever the actual code encounters any type of error, it throws an exception, which then goes to the call stack.

    每当实际代码碰到任何类型错误就抛出一个异常然后该异常就进入调用

    youdao

  • In fact, video game consoles are often an exception to general rules about modern code not needing much porting.

    实际上视频游戏控制台对于现代代码来说通常都是一个例外需要太多移植

    youdao

  • Significant reduction of tedious code for data conversion and exception handling, allowing you to focus on core business logic.

    极大地减少用于数据转换异常处理繁琐代码从而专注核心业务逻辑。

    youdao

  • If the server-side code fails, the failure method is called with the thrown exception as its argument.

    如果服务器代码失败,则将调用失败方法并用抛出的异常作为参数。

    youdao

  • The only exception to this is the code in the migration to create a database table, but that can also be done in straight SQL in the database.

    其中唯一例外迁移中用于创建数据库代码事实上可以通过数据库中的简单SQL完成

    youdao

  • More support for testing whether code does or doesn't throw an exception.

    测试提供了更多支持无论代码是否抛出异常

    youdao

  • To avoid distractions I've ignored exception handling in the code.

    避免分散注意力代码中忽略了异常处理

    youdao

  • Then they could change the code to pass the exception off to their logging framework instead.

    这样他们就可以改变代码,将异常改为传递日志框架。

    youdao

  • Because this code is only a sample we don't perform any real error processing, but we do implement a dummy exception handler to allow the code to compile.

    由于代码仅仅作为样例使用我们没有执行任何实际的错误处理但是我们实现一个虚构异常处理程序,从而完成代码编译。

    youdao

  • By switching on exception tracing, you will be able to provide multiple snapshots of the stack as an exception bubbles up through layers of application code.

    通过打开异常跟踪可以提供堆栈多个快照作为应用程序代码冒出的异常。

    youdao

  • This exception will be caught specifically in your production code so that your application can respond graciously when a user supplies an incorrect password.

    生产代码这个异常明确捕获以便应用程序用户提供了不正确的代码能够进行恰当响应

    youdao

  • For demonstration purposes, the code in Listing 11 simply displays an exception message when a GAE exception is thrown.

    出于演示的目的清单11代码只是出现GAE异常简单地显示一个异常消息

    youdao

  • The second is that the code calls a method that can throw an exception without handling it.

    第二代码调用一个可能抛出异常方法,但没有处理异常。

    youdao

  • You also do not need to worry about altering code to catch a specific exception because it is wrapped in a runtime exception.

    不必费心修改代码捕获异常因为异常包装到一个运行时异常

    youdao

  • There isn't much going on in the method in Listing 4 except the fact that no exception is thrown by the code.

    清单4方法除了代码抛出异常事实并没有什么太多的事情

    youdao

  • Finally, you can implement the traditional use case for exception handling over a block of code as shown in Listing 7.

    最后如清单7实现代码进行异常处理传统

    youdao

  • Even though the sequence of doing the JNDI lookup is well known, casting and handling the JNDI exception adds a lot of standard code.

    就算已经知道JNDI查找序列处理 JNDI例外的操作会添加一系列标准代码。

    youdao

  • In the code in Listing 3, there's an exception that is always thrown at the end of the method, thereby forcing a rollback.

    清单3中的代码,在方法结束总是抛出异常所以强制回滚。

    youdao

  • Simple library changes like adding an uncaught exception handler greatly increase the comprehensibility of source code.

    添加捕获异常处理程序这样的简单更改,可以极大地增加代码的可理解性。

    youdao

  • It's much easier to include the code to check for the exception than to try to debug a crash later on.

    添加异常检测代码事后尝试调试崩溃简单很多

    youdao

  • If the batch size is too large, you may receive an SQL exception with the SQL code -805.

    如果批量可能会收到一个SQL代码为- 805SQL异常

    youdao

  • If your code assumes that a particular exception must be an IOError, take advantage of the language's precision, and say so.

    如果代码假设某个特定的异常一定一个IOError,那么利用语言精确性,就这么

    youdao

  • Please note that you still need to throw whatever exception is caught by the invoked code (in this case, IOException).

    注意还是需要抛出被调用代码捕获异常(例中为IOException)。

    youdao

  • The handler supplies a valid file status code if an exception occurs.

    Handlder 程序异常发生时提供有效文件状态

    youdao

  • This code either implements exception conditions or implements unspecified features.

    这些代码要么实现例外条件,要么是实现了但没特性指明的特性。

    youdao

  • As written, so long as no exception is generated by the code and the ActionForm successfully validates, Struts assumes things worked just fine, and so will the test case.

    正如所写那样只要代码没有生成异常ActionForm成功验证Struts就假定事情工作良好测试用例也是一样。

    youdao

  • The Visitor design pattern is used to separate the exception hierarchy from the code that builds the fault details.

    Visitor设计模式用于异常层次构建故障详细信息代码分开

    youdao

  • In the EJB implementation code, as a part of exception handling, set the transaction to Rollback, as shown in Figure 11.

    EJB实现代码中作为异常处理一部分事务设置Rollback如图11所示。

    youdao

  • In the EJB implementation code, as a part of exception handling, set the transaction to Rollback, as shown in Figure 11.

    EJB实现代码中作为异常处理一部分事务设置Rollback如图11所示。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定