• 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

  • 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

  • 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代码为- 805的SQL异常。

    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

  • If the content isn't supported, the code throws an exception, which is caught by the try-catch block.

    如果内容不受支持,那么代码抛出一个异常,此异常由try - catch块捕捉到。

    youdao

  • If the content isn't supported, the code throws an exception, which is caught by the try-catch block.

    如果内容不受支持,那么代码抛出一个异常,此异常由try - catch块捕捉到。

    youdao

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

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

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