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

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

    youdao

  • If your data access code catches an exception, do not ignore it.

    如果数据访问代码捕获了一个异常,不要忽略它。

    youdao

  • This file must be in the classpath or running the code will generate an exception.

    这个文件必须在类路径中,否则运行代码将产生一个异常。

    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

  • Otherwise, if the protected code threw an exception, the lock might never be released!

    否则,如果受保护的代码将抛出异常,锁就有可能永远得不到释放!

    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

  • So the above code does not trigger a class cast exception.

    因此上述代码不会触发类转换异常。

    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

  • 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

  • The Exception value is an internal VMM error code.

    Exception值是一个内部VMM错误代码。

    youdao

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

    请注意您还是需要抛出由被调用代码捕获的异常(在本例中,为IOException)。

    youdao

  • Ignore the MQ Exception, with reason code 2033, at the end.

    忽略结尾带有原因代码2033的MQ Exception。

    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

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

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

    youdao

  • In the next section, you will code your own exception handler to handle the SQLException.

    在下一节中,您将对异常处理程序进行编码,以便处理SQLException异常。

    youdao

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

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

    youdao

  • At DIAGLEVEL 3 (default), the db2diag.log captures a stack trace back, and even gives you the line number within the code where the exception is caught.

    在DIAGLEVEL3(默认设置)上,db2diag . log捕获堆栈跟踪,甚至给出代码中捕获到异常处的行号。

    youdao

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

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

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