我没有按通常作法将错误代码返回给父代应用程序,而是将错误打印到屏幕,然后退出程序。
Instead of gracefully returning an error code to the parent application, I print the error to the screen and bail out of the code.
正如在FailureAcceptance下面所注意的那样,测试运行时的错误代码返回容忍门槛为5%。
As previously noted under Failure Acceptance, the tests ran with an allowable threshold of 5% for error codes returned.
如果所需的辅助日志文件的数量比该参数允许的数量大,就会将一个错误代码返回到应用程序,并且会停止对数据库的操作。
An error code will be returned to the application, and activity against the database will be stopped, if more secondary log files are required than are allowed by this parameter.
如果不使用异常,则必须返回错误代码。
由于证书可能是不安全的,因此会返回错误代码。
Error return codes are given because the certificate is potentially unsafe.
简而言之,合理使用异常,切勿返回错误代码。
In brief, use exceptions properly and never return error codes.
以下示例指定EXIT期间返回的错误代码。
The following example specifies the error code returned during EXIT.
如果最大的空闲区段无法涵盖两个或更多分区区段,碎片整理程序会设置错误代码并返回。
If the largest free extent cannot cover two or more partition extents, the defragmenter sets an error code and returns.
错误代码和消息被作为OUT参数返回给调用者。
The error code and message are returned to the caller as OUT parameters.
它会立即返回错误代码ebusy。
当执行RETURN sqlerror语句时,处理暂停并将错误代码10029返回给调用者。
When the return SQLERROR statement is executed, processing halts and the error code 10029 is returned to the caller.
函数返回错误代码或成功代码;如果是错误代码,则代码本身可用于指出何处出错。
The function returns an error or success code; if it's an error code, the code itself can be used to figure out what went wrong.
如果状态不是good,就返回错误代码。
If the status is not good, then return the appropriate error code.
exec()命令与 shell_exec()相似,不同之处是它返回输出的最后一行,并且可选地用命令的完整输出和错误代码填充数组。
The exec() command is similar to shell_exec(), except it returns the last line of the output and, optionally, populates an array with the full output of the command, along with the error code.
如果成功运行,则存储过程将返回0(零),如果发现任何参数或策略文件内容问题,则返回SQL错误代码。
The stored procedures return 0 (zero) when they run successfully and SQL error codes if it finds any issues with the parameters or policy file content.
事务管理器要能够容忍不同资源管理器在发生类似错误时返回的不同错误代码而导致的不同行为。
The transaction manager needs to be tolerant to different behaviors due to different error codes returned by different resource managers for similar kinds of failures.
从每个调用中收集状态描述是很好的实践,例如将错误代码等返回到一个可重复的数组中然后原样返还给服务消费者。
It is a good practice to collect status description from each invoke such as return codes etc. into a repeatable array and return the same back to service consumer.
在用户选择的新闻类型无效的情况下,模型将返回一个错误代码,而不是返回标题。
In case the user's choice of news type was invalid, the model would return an error code, rather than the headlines.
转换提供者错误代码——不同的服务提供者会使用不同的语义来返回服务错误。
Transform provider error codes - It is possible that different service providers return service errors using different semantics.
函数调用成功时返回零,失败时返回非零的错误代码。
This call either returns zero on success or a non-zero error code on failure.
我只需要它返回数据,但它实际上必须返回错误代码和数据。
I would like it simply to return the data, but it really has to return an error code and the data.
如果存在与碎片整理程序冲突的操作,将返回错误代码。
Conflicting operations result in the defragmenter returning an error code.
如果有地方出了问题,则返回一个错误代码,该代码被记录在命令行工具的verify选项下。
If something was wrong, it returns an error code that is documented under the verify option for the command-line tool.
返回一个字串来描述特定的状态信息或错误代码。
Returns a string describing the specified status code or error code.
返回最近调用此函数产生的状态信息或错误代码。
Returns an error or status code associated with the most recent function call.
Oracle明确的返回错误XAER_RMERR,错误代码编号为65535。
Specifically, Oracle returned an error XAER_RMERR, error code number 65535.
避免使用错误代码作为方法的返回值。
避免将错误代码作为方法的返回值。
不要返回错误代码。
在HTML设备上,请求返回实际错误代码,以便浏览器能够相应地作出响应。
On HTML devices, the request returns the actual error code so the browser can respond accordingly.
应用推荐