• If you can, use a try-catch block.

    如果能,那么使用try - catch块。

    youdao

  • PMD flagged this as an empty catch block.

    PMD把这标记为空catch块。

    youdao

  • Exception blocks can be combined into a single multi-catch block.

    异常块可以组合到单个multi - catch块中。

    youdao

  • Catch block, including the database metadata operations shown in Listing 3.

    catch块中,包括清单3所示的数据库元数据操作。

    youdao

  • In this case, you'll need to surround your code with a try catch block.

    在这种情况下,需要用一个trycatch程序块来包围代码。

    youdao

  • In each catch block, paste the code in c: \ JSFLAB \ Lab5 \ CodeSnippet1.txt.

    将c: \JSFLAB \Lab5 \CodeSnippet1 . txt中的代码粘贴到每个catch块中。

    youdao

  • If the service throws an exception, then this code falls into the catch block.

    如果服务引发异常,则此代码将进入catch块。

    youdao

  • First, multiple exception types can be named as being handled by a single catch block.

    首先,一个catch块中可以处理多个指定类型的异常。

    youdao

  • Catch block, and that you call the close method on your connection inside a finally block.

    catch块中,而且在finally块中在连接上调用close方法。

    youdao

  • Because the value of value is out of range, an exception is thrown that is caught in the catch block.

    因为value的值超出了范围,所以抛出了一个被catch块捕获的异常。

    youdao

  • The call stack passes the exception to the catch block, and that is how it gets returned to the user.

    调用栈将异常传递给catch块,异常正是通过这种方式被返回给用户的。

    youdao

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

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

    youdao

  • If so, the current driver does not add the catch block for any custom exception thrown by the Web service.

    如果有,则表明当前驱动器没有为Web服务抛出的自定义异常添加批处理块。

    youdao

  • This is why the catch block contains calls to EIS1 transactions that cancel updates to the order and billing systems.

    这就是catch块中包含对eis1事务的调用的原因,为了取消对订单和记帐系统的更新。

    youdao

  • When the control reaches the catch block, a SOAP request is prepared using a cached body, and a Web service is invoked.

    当执行到 catch块时,将使用缓存的主体准备SOAP请求,并随后调用Web服务。

    youdao

  • Notice how the mail object defined in the catch block takes a closure that defines the from, to, and message attributes.

    注意catch块中定义的mail对象如何接受定义了from、to和message属性的闭包。

    youdao

  • I suggest creating a method that logs exception information and calling that method in the catch block of your exception blocks.

    我建议创建一个方法记录异常的信息,并且当出现异常时调用这个方法并遮蔽掉您所抛出的异常。

    youdao

  • If the stored procedure contains a TRY... CATCH construct, the error transfers control to the CATCH block in the stored procedure.

    如果存储过程包含TRY…CATCH构造,则错误会将控制传输给存储过程中的CATCH块。

    youdao

  • In case of an exception, the catch block simply called the exception publisher, then returned the executing thread back to the thread pool.

    如果发生了异常,这个catch块只是简单地调用异常发布程序,然后将正在执行的线程返回到线程池中。

    youdao

  • When Derby shuts down a database, it throws an SQLException with an SQLState of 08006, which is why the catch block ignores this exception.

    Derby关闭数据库时,将抛出SQLException,使用08006作为SQLState,这就是catch块忽略此异常的原因。

    youdao

  • There is a visit (code) method in BytecodeScanningDetector, and the implementation calls visit (CodeException) every time it finds a catch block.

    在BytecodeScanningDetector中有一个visit (code)方法,并且在每次发现catch块时,该实现都会调用visit (CodeException)。

    youdao

  • If something goes wrong, the catch block rolls back all changes made since the transaction was started, and then prints out an error message.

    如果发生了错误,catch块可以回滚事务开始以来发生的所有更改,并打印出一条错误消息。

    youdao

  • When an error occurs within a nested TRY block, program control is transferred to the CATCH block that is associated with the nested TRY block.

    当嵌套的TRY块中出现错误时,程序控制将传递到与嵌套的TRY块关联的CATCH块。

    youdao

  • To use the doQuery method, you need to establish a database connection and call the method from within a try ... catch block, as shown in Listing 4.

    要使用doQuery方法,需要建立数据库连接并且从try ...catch块内调用方法,如清单4 所示。

    youdao

  • While a catch block with a System.err.println() statement might be considered error-handling in the loosest sense of the word, it's a pretty poor approach.

    不精确地讲,包含System.err.println()语句的catch块可以被认为是错误处理,这是一个非常拙劣的方法。

    youdao

  • The major products are the lift parts such as the car, hoist-way door, door machine , upper sill, speed governor, rope gripper, catch block , buffer etc.

    销售的主要产品:导向轮、轿厢、厅门、门机、上坎、限速器、夹绳器、安全钳、缓冲器、绳头组合、五方通话、导轨等电梯部件,广泛应用于客梯、住宅梯、货梯等各类电梯。

    youdao

  • If you like, you can assert something about the thrown exception in the catch block. For example, Listing 6 checks that FunctionContext is not serializable.

    如果愿意,您还可在catch中作出一些关于所抛出异常的断言。

    youdao

  • To detect this bug pattern, you'll need to know where the try-catch blocks are, what might be thrown out of the try block, and what is caught in the catch blocks.

    要检测此bug模式,则需要知道try -catch块的位置、try块可能抛出的内容以及在catch块中将捕获的内容。

    youdao

  • You still need to handle this exception of course, but writing a catch block to handle a detected error is much simpler than writing code to detect all possible errors.

    当然还需要处理这个异常,但编写一个catch块来处理检测到的错误比起编写代码来检测所有可能的错误来说要简单得多。

    youdao

  • The command bean is instantiated and a try catch block is used to catch exceptions generated from a duplicate user, an invalid credit card, or an unauthorized credit card.

    命令bean被实例化,trycatch块被用于捕捉由于重复的用户、无效的信用卡或未经认证的信用卡而产生的异常。

    youdao

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

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

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