青年中文青年中文

try catch的意思

try catch中文翻譯:

試一試

相似詞語短語

to catch───抓住

by-catch───副漁獲物

recatch───重新匹配

to batch───批量

to clatch───發出咔噠聲

to hatch───孵化

to latch───閂鎖

to match───匹配;相配,相稱

to patch───修補

雙語使用場景

In this case, you'll need to surround your code with a try catch block.───在這種情況下,需要用一個try catch程序塊來包圍代碼。

catch structure changes the runtime exception behavior to what is specified in the catch clause.───catch結構將運行時異常行為更改為catch子句中所指定的行為。

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塊調試信息的一支問題。

The message is returned as a server error message to the calling application or to an associated CATCH block of a TRY. . . CATCH construct.───該消息作為服務器錯誤消息返回到調用應用程序,或返回到TRY…CATCH構造的關聯CATCH塊。

The error is not caught and control passes out of the TRY. . . CATCH construct to the next higher level.───未捕捉錯誤,控制從TRY…CATCH構造傳遞給下一更高級別。

Returns the state number of the error that caused the CATCH block of a TRY. . . CATCH construct to be run.───返回導致TRY…CATCH構造的CATCH塊運行的錯誤狀態號。

Control transfers into and out of try, catch, filter, and finally blocks cannot be performed by this instruction.───此指令無法執行進出try、catch、filter和finally塊的控制轉移。

Inside a TRY . . . CATCH construct , transactions can enter a state in which the transaction remains open but cannot be committed .───在TRY.CATCH構造中,事務可以進入一種狀態:事務保持打開但無法提交。

In the CATCH block of a TRY. . . CATCH construct, the stored procedure is called and information about the error is returned.───在TRY…CATCH構造的CATCH塊中,調用了該存儲過程并返回有關錯誤的信息。

英語使用場景

And, of course, you have to do all this in a try/catch/finally block that will handle exceptions and close the file handle when finished.

For example, you can eliminate redundant code in try/catch/finally blocks and in synchronized methods.

Notice that because you are dealing with both a request/response mechanism and XML parsing, a try/catch block frames this entire function.