限制这个等待时间,并发送关于一个错误返回码的警报,是非常有必要增加的一个功能。
Limiting the wait time and sending an alert on an error return code would be a very good thing to add.
假如一个对象的方法需要报告一个错误,这时一个返回码需要用到。
If an object method needs to report an error, then a return code should be used.
例如,如果对字节码故意做了更改,或者在通过网络传送类文件时现出了错误,那么就可能发生这个异常。
This could occur if the bytecodes had been deliberately hacked, for example, or if an error had occurred when transferring the class file over a network.
如果用户在尝试访问这个资源时还没有经过身份验证,那么用户会收到401状态码,应用程序可以提供一个特殊的错误处理函数来处理这种情况。
If a user is not authenticated when trying to access this resource, the user will receive a 401 status code and the application can provide a special error handler to deal with that condition.
用更通用的错误信息来阻断这种攻击,可能需要输入一个验证码。
Fend them off with more generic error messages and possibly require to enter a CAPTCHA.
如果你有张有效光盘但是版本激活码错误的话,你仍然能以这个激活码用这张碟安装上正确的版本。
If you've got a valid disc but the wrong edition key you can still use the disc to install the right edition for the key you have.
此外,EMCEFD也使用全双工错误修正码(ECC)数据完整性保护和离线电源备份来保护数据。
Additionally, EMC EFDs safeguard data with full round-trip error correcting code (ECC) data integrity protection and destage power backup.
返回码为0就说明没有错误。
如果访问级别是MODIFIESSQLDATA,那么它在触发器、动态合成语句、sql体函数中或在创建保存点时会阻塞,并返回原因码为22的错误SQL 30090。
IF it has MODIFIES SQL DATA, it is blocked in triggers, dynamic compound statements, SQL-bodied functions, or when a save point has been created, and error SQL30090 with reason code 22 is returned.
使用qr码输出需要较少的错误检查。
错误消息中显示的原因码 “XUTY0008” 表示 “替换表达式的目标节点不是单一节点”。
The reason code "XUTY0008" shown in the error message quickly points you to the fact that "the target node of a replace expression is not a single node".
如果一个“http”资源对一个GET请求的响应码是4xx(错误),那么这个资源被认为是未知的。
If an "HTTP" resource responds to a GET request with a 4xx (error) response, then the nature of the resource is unknown.
而是创建一个如下所示的函数,此函数也可以处理返回码,如果有必要,还可以增加错误计数器
you could create a function such as the following, which also handles the return code and, if needed, increases the error counter
如果已经设置了此变量,set——query返回状态码0,这表示没有出现错误;否则,返回1。
If the variable is set, set — query returns a status code of 0, indicating that no error occurred; otherwise, it returns a 1.
如果一个SOAP消息中有错误,您将会从Web服务服务器得到一个HTTP响应码:500。
If something is wrong in a SOAP message, you will receive a HTTP response code: 500 from a Web Service server.
清单3显示第一个错误的例子,sqlcode为sql 4301,返回码为0。
Listing 3 shows an example of our first error, sqlcode SQL4301 with return code 0.
与其他使用HTTP的REST服务一样,TwitterAPI使用一组状态码和错误消息。
Like other REST services that use HTTP, the Twitter API sports a set of status codes and error messages.
为了增加更健壮的错误处理并尽量避免过于复杂,可以增加一两个状态码检查,请看一看清单15中修改后的updatePage()版本。
To add more robust error handling -- with minimal complication -- you might add a check or two for other status codes; check out the modified version of updatePage() in Listing 15.
如果就绪状态是4而且状态码是 200,就可以处理服务器的数据了,而且这些数据应该就是要求的数据(而不是错误或者其他有问题的信息)。
With a ready state of 4 and a status code of 200, you're ready to process the server's data and that data should be what you asked for (and not an error or other problematic piece of information).
如果发生了一个非常严重的错误,例如一个无效的操作码,那么SPU就会停止,并向PPE发送一个中断。
If a serious error occurs, for example, an invalid opcode, the SPU is stopped and an interrupt is delivered to the ppe.
此类重定向提交的是302或301代码,通常这会告诉搜索引擎将你的错误页跟许多不同的URL一起索引起来。
Those redirects deliver a 302 or 301 code, which usually tells search engines to index your error page at many different URLs.
大多程序错误能在模块测试或撰写测试码时被侦测出。
Most bugs can be found while unit-testing, or while writing the tests.
最近研究显示,平均起来,开发者在每一千代码中有100到150个错误。
Recent studies show that, on average, developers make 100 to 150 errors for every thousand lines of code.
首先,让人们检视您的来源程序码并不能保证会发现错误。
First, having people look at your source code doesn't guarantee that bugs will be found.
例如,购买时需要输入个人识别码,而且一旦五次输入错误,钱包自锁。
For instance, a PIN is necessary for every purchase, and if it is input incorrectly five times, the wallet disables.
我好几次都是在跟检视者解释程序码时发现错误。
Many times I found bugs when trying to explain what my code is doing to a reviewer.
这仅仅是HTTP请求能够收到的众多错误码中的一种(完整的状态码列表请参阅参考资料中的链接)。
This is just one of many status codes that HTTP requests can receive as a status (see Resources for a link to the complete list of status codes).
当编译这一代码时,会生成两个错误。
这是V4.3代码的部分,它产生下列错误。
This is the section of V4.3 code that produced these errors.
一种用于检查一组字符的错误、并且具有最小冗余度的循环码。
A cyclic code with minimum redundancy used to check errors in a set of characters.
应用推荐