What is the translation of " TRY BLOCK " in Chinese?

[trai blɒk]
[trai blɒk]
try块
一个try块

Examples of using Try block in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
The code in the try block is executed.
try中的代码块会被执行。
For example, you can enclose a call to a method within a try block.
例如,你可以把对方法的调用放在一个try块中。
The code within the try block includes an illegal operation.
在try块内的代码包含非法操作。
Try block must be followed by catch or finally block or both.
Try代码块后面必须跟有catch代码块、finally代码块,或两者都有。
Why can't I use a try block around my super() call?
为什么我不能在我的super()调用中使用try块??
A try block must have at least one catch clause or a finally block..
一个try语句必须带有至少一个catch语句块或一个finally语句块。
Notice that the call to println() inside the try block is never executed.
注意在try块中的对println()的调用是永远不会执行的。
Each try block or"throw" must have at least one corresponding catch block..
每个TRY或THROW代码块必须至少拥有一个对应的CATCH块.
The finally blockis useful for cleaning up any resources allocated in the try block.
Finally块用于清除在try块中分配的任何资源。
Each try block or"throw" must have at least one corresponding catch block..
每个try或throw代码块必须至少拥有一个对应的catch代码块。
However, for Node 8.3+ the performance hit of calling a function inside a try block is negligible.
但是对于Node8.3+,在try块内执行函数导致的性能下降却几乎可以忽略不计了。
Try: A try block identifies a block of code for which particular exceptions is activated.
Try:尝试块标识一个代码块,特定的例外将被激活。
Once an exception has been thrown,control passes to the catch expression, and the try block is terminated.
一旦有异常被抛出时,控制权转向catch语句,try块则被终止。
For example, if you only do business in the U.S., try blocking all non-U.S. traffic for more protection.
例如,如果您只在美国做生意,请尝试阻止所有非美国的流量以获得更多保护。
Within the try block, only two of the three statements will execute: the first cout statement and the throw.
try块中,三条语句仅有两条会执行:第一条cout语句和throw语句。
You can achieve the same result by putting the object inside a try block and then calling Dispose in a finally block;.
通过将对象放入try块中,并在调用finally块中的Dispose,可以获得相同的结果;.
Try: A try block identifies a block of code for which particular exceptions will be activated.
Try:一个try块标识了一个将被激活的特定的异常的代码块。
If a variable is initialized by a method that throws a checked exception,it must be initialized inside a try block.
如果一个变量被一个方法初始化,而这个方法可能会抛出一个受检的异常(checkedexception),该变量就必须在try块的内部被初始化。
When an exception is thrown in the try block, the execution immediately passes to the finally block..
当一个异常被抛出在try块中,执行立即传递到finally块。
The try block must be followed by either exactly one catch block or one finally block(or one of both).
Try块必须后跟只有一个catch块或者一个finally块(或两者之一)。
It is recommended practice toalways immediately follow a call to lock with a try block, most typically in a before/after construction such as:.
建议总是立即实践,使用try块来调用lock,在之前/之后的构造中,最典型的代码如下:.
If an error occurs, then try block execution is stopped, and the control flows to the beginning of catch(err).
如果发生错误,那么try执行流被停止,控制流到达catch(err)的开头。
When used with multiple catch blocks, typed parameters let you catch multipletypes of error objects thrown from a single try block.
当与多个catch块一起使用时,如果指定了参数类型,则可以捕获从一个try块引发的多种类型的错误。
The nearest enclosing try block is inspected to see if it has a catch statement that matches the type of exception.
最紧紧包围的try块用来检查它是否含有一个与异常类型匹配的catch语句。
A try-catch statement may also be followed by finally,which executes regardless of whether or not the try block has completed successfully.
一个try-catch语句后面也可能跟着一个finally语句,不论try码块是否顺利执行完,它都会被执行。
When control leaves the try block(for example due to a return, or just finishing normally), close(f) will be executed.
当控制流离开try代码块(例如,遇到return,或者正常结束),close(f)就会被执行。
There are at least 3 places that the try block could fail, making this by far the cleanest way to handle errors in async code.
至少有三个地方,try可能会失败,这是在异步代码中的一种最干净的方式来处理错误。
When throw is executed, the try block finalizes right away and every object created within the try block is destroyed.
当throw被执行的时候,try语句块立即被停止执行,在try句块中生成的所有对象会被销毁。
Results: 28, Time: 0.032

Word-for-word translation

Top dictionary queries

English - Chinese