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

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

    youdao

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

    如果内容受支持,那么代码抛出一个异常,此异常try - 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

  • 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

  • The SOAP method call is performed within a try - except block, which is generally good style, but here we do it specifically to catch a SOAP.faultType exception.

    SOAP方法调用try -except执行的,一般来说这种方式比较好这里我们这样做只是捕捉 SOAP.faultType异常

    youdao

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

    这种情况下需要一个try catch程序块包围代码

    youdao

  • This is why I used the try-except block: I can catch my own SQL errors and respond to them if needed.

    就是使用try - except原因:我可以捕捉自己SQL错误根据需要进行响应

    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

  • Finally, the page USES a try block to catch any unforeseen errors with the error description displayed on the page.

    最后页面使用try捕获任何不可预见错误,并在页面显示错误描述

    youdao

  • This is not a debugger bug, but it is known issue with try catch block debug information. See the following disassembled code for an example of a try catch block in the debugger.

    不是调试bug但是针对try catch调试信息一支问题

    youdao

  • Wrap a try block around the offending code, and catch any exceptions that are thrown.

    将出错的代码包装一个try块中,捕捉抛出的异常。

    youdao

  • Wrap steps 1 through 6 in a try/except block in order to catch any unexpected UDDIErrors (specifically, for a returned DispositionReport from the API).

    为了捕获任何意料之外UDDIError特别是API返回DispositionReport ),把步骤16封装一个try/except中。

    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

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

    如果存储过程包含TRYCATCH构造,则错误会将控制传输存储过程中的CATCH

    youdao

  • To report errors, exceptions are used, so do not forget to wrap your code in a try/catch block. That is all about using it.

    关于使用显示的报告错误使用异常所以不要忘记代码封装一个try /catch

    youdao

  • To report errors, exceptions are used, so do not forget to wrap your code in a try/catch block. That is all about using it.

    关于使用显示的报告错误使用异常所以不要忘记代码封装一个try /catch

    youdao

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

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

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