不要返回错误代码。
In brief, use exceptions properly and never return error codes.
简而言之,合理使用异常,切勿返回错误代码。
The OPC is needed for return messages (e. g. , return error messages).
返回消息(例如,返回错误消息)时会需要OPC。
The NO_INFOMSGS option of DBCC is helpful, it makes DBCC return error messages only.
DBCC的NO_INFOMSGS选项是有用的,它使得DBCC只返回错误信息。
When methods return error values, every method call is surrounded by error-handling code.
在方法返回错误值时,每一个方法调用都要包含错误处理代码。
Data access module utilizes storing process to visit database which return error code or XML file.
数据访问模块利用存储过程访问数据库,返回错误码或者可扩展标记语言文件给调用者。
For cycloidal pin wheel speed reducers which are mainly used to transfer motions, the return error will be one of the factors influencing their use performance.
对于以传递运动为主的摆线针轮行星减速机,回程误差可能是影响其使用性能的因素之一。
You then check if this field has any value at all or is not numeric, and, if either of these conditions hold true, you return an error.
您要检查这个字段是否没有任何值或者不是数字的,以及如果出现这两种情况中的一种,您应该返回一个错误。
I interjected. "Why not just return an error code?"
我插话道,“返回一个错误编码不可以吗?”
Limiting the wait time and sending an alert on an error return code would be a very good thing to add.
限制这个等待时间,并发送关于一个错误返回码的警报,是非常有必要增加的一个功能。
Either side can return an error, such as defined below.
任何一边都可能返回一个错误,如下面所定义。
If an object method needs to report an error, then a return code should be used.
假如一个对象的方法需要报告一个错误,这时一个返回码需要用到。
It should return an error, and it did.
它应该会返回一个错误,而结果的确如此。
If no handlers are found to handle the request, the server will return a 501 error.
如果没有找到处理请求的处理程序,服务器将返回一个501错误。
Error return codes are given because the certificate is potentially unsafe.
由于证书可能是不安全的,因此会返回错误代码。
In case the user's choice of news type was invalid, the model would return an error code, rather than the headlines.
在用户选择的新闻类型无效的情况下,模型将返回一个错误代码,而不是返回标题。
This return code usually indicates some kind of error has occurred.
这个返回代码通常表明发生了某些错误。
When testers play back the saved scripts against the upgraded application, playback might return an error that indicates that an object cannot be found.
当测试员根据升级的程序来测试保存的脚本时,回馈可能会返回一个错误,说不能找到对象。
If your queries execute without error but return no data, double-check the path expressions and namespace declarations in your query.
如果查询能够执行,但是没有返回数据,那么请仔细检查查询中的路径表达式和名称空间声明。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
If you forget to mention a prefix in any step, your expression will return nothing-an error for which it's difficult to track the cause.
如果有任何一个步骤忘记使用这个前缀,那么表达式不会返回任何内容,并且很难搞清楚究竟是哪一步出的错。
Despite your best efforts, there are times when your applications will receive 2035 Authorization Error return codes.
尽管您费尽心思,有时应用程序仍然会接收到2035Authorizationerror返回码。
Process a document and return a set of error messages according to business logic.
处理一个文档并根据业务逻辑返回一组错误消息。
The mkuser command might return the following error message.
mkuser命令可能返回下面的错误消息。
Caveat: The function only accepts Unicode strings, and will return an error if non-Unicode strings are passed in.
注意:函数只接受Unicode编码的字符串。当传进非unicode字符串时它会返回一个错误。
Problem: mkuser might return an error message.
问题:mkuser可能返回一个错误消息。
If you try to set up a subscription for a report that USES integrated security, Reporting Services will return an error.
如果您试图为使用集成安全性的报表设置订阅,ReportingServices将会返回一个错误。
The validator method receives the user's input as a parameter and may return an error message, which is stored in a JSP variable named validationError.
validator方法将用户输入作为参数,并且可能会返回一条错误消息,保存在一个名为 validationError 的JSP变量中。
The toString method will return the error message along with a reference to another exception.
toString方法将返回错误信息及另一个异常的引用。
The Replication Center will not do this check before running the SQL, and the SQL script will then run into the conflict and return an error message.
ReplicationCenter在运行SQL之前不进行这项检查,如果有错误,sql脚本将运行到这个冲突,并返回一条错误消息。
应用推荐