• 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对象如何接受定义fromtomessage属性包。

    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.

    如果存储过程包含TRYCATCH构造,则错误会将控制传输存储过程中的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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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