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

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

    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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • From the SOAP client perspective, it's a good idea to wrap the SOAP call inside a try-catch block, so that SOAP faults like the one above can be caught and handled gracefully.

    对于SOAP客户端来说,将这个SOAP调用封装在一个try - catch代码块中是很好的做法,这样类似于上面的SOAP错误就会被顺利地捕捉和处理。

    youdao

  • When invoking unknown code (which listeners certainly qualify as), it is prudent to execute it in a try-catch block so that ill-behaved listeners do not do more damage than necessary.

    在调用未知代码(侦听器就是这样的代码)时,谨慎的方式是在try - catch块中执行它,这样,行为有误的侦听器不会造成更多不必要的破坏。

    youdao

  • Each CodeException contains the starting and ending bytecode offset for the corresponding try block, so you can easily determine which CodeException objects correspond to a try-catch block.

    每个CodeException都包含相应try块的起始和终止的字节码偏移量,这样您可以方便地确定哪一个CodeException对象与try - catch块对应。

    youdao

  • When that error is thrown, the catch block will intercept it and will call AskQuit again, informing you that the directory could not be created, and asking whether you still want to continue.

    当那个错误被抛出,catch块将会拦截它,并再次调用AskQuit,通知您不能创建目录,并询问您是否依然想要继续。

    youdao

  • The locking catch block can conveniently assemble a plurality of wood floor blocks together, the assembly is convenient and simple, and the wood floor is not easy to deform after assembling.

    它可以方便地将多个木地板块组装在一起,安装方便简单,安装后,木地板不易变形。

    youdao

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

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

    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

  • 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

  • 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

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

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

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