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

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

    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

  • 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

  • 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被实例化,try 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被实例化,try catch块被用于捕捉由于重复的用户、无效的信用卡或未经认证的信用卡而产生的异常。

    youdao

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

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

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