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.
您要检查这个字段是否没有任何值或者不是数字的,以及如果出现这两种情况中的一种,您应该返回一个错误。
If an object method needs to report an error, then a return code should be used.
假如一个对象的方法需要报告一个错误,这时一个返回码需要用到。
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.
如果成功运行,则存储过程将返回0(零),如果发现任何参数或策略文件内容问题,则返回SQL错误代码。
If no handlers are found to handle the request, the server will return a 501 error.
如果没有找到处理请求的处理程序,服务器将返回一个501错误。
If your code passes the wrong element to the method, the code compiles fine, but might raise a runtime error or silently return no results.
如果代码给方法传递错误的元素,那么尽管代码将编绎良好,但可能会导致运行时错误或者不返回任何结果。
If opening the query is successful, it will return the value ERROR_SUCCESS; otherwise an error code will be returned.
如果成功地开始了此查询,那么它将返回值error_success;否则将返回错误的代码。
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.
如果有任何一个步骤忘记使用这个前缀,那么表达式不会返回任何内容,并且很难搞清楚究竟是哪一步出的错。
you could create a function such as the following, which also handles the return code and, if needed, increases the error counter
而是创建一个如下所示的函数,此函数也可以处理返回码,如果有必要,还可以增加错误计数器
The resource kernel can then merge the requests to define a schedule to provide guaranteed access using the task-defined constraints (or return an error if they cannot be guaranteed).
然后资源内核可以合并这些请求,使用任务定义的约束定义一个调度,从而提供确定的访问(如果无法提供确定性则返回错误)。
Caveat: The function only accepts Unicode strings, and will return an error if non-Unicode strings are passed in.
注意:函数只接受Unicode编码的字符串。当传进非unicode字符串时它会返回一个错误。
If you try to set up a subscription for a report that USES integrated security, Reporting Services will return an error.
如果您试图为使用集成安全性的报表设置订阅,ReportingServices将会返回一个错误。
Since all errors cause an exit, if we return from the process_input function, it means there was no error, so we return 0 from main .
既然所有错误都会导致退出,那么如果我们从process_input函数返回,则意味着没有错误,因此我们从main返回0。
If the status is not good, then return the appropriate error code.
如果状态不是good,就返回错误代码。
If any of the above queries fail to return the desired remote procedure, error SQL1253N is thrown during CREATE procedure.
如果以上任何查询无法返回所需的远程过程,那么在执行CREATEPROCEDURE期间会抛出错误SQL 1253n。
The method call will return a div with all error messages (if any exist), so that one can be easily displayed
这个方法调用将返回一个包含所有错误消息的div(如果有错误消息的话),可以很容易地显示它
It will return null if there no other error messages to return.
如果没有要返回的其他错误消息,则返回null。
Without this option, any read or write operation will return an error if the server wants a new handshake, setting the retry flag in the process.
如果没有这个选项,当服务器希望进行一次新的握手时,进行读或写操作都将返回一个错误,同时还会在该过程中设置retry标记。
If a SOAP processing error occurs at the SOAPInput node, it can return a SOAP fault either directly to the sender or to a different endpoint if directed to do so by WS-Addressing.
如果在SOAPInput节点上发生SOAP处理错误,它可以直接向发送者或者向某个不同的端点(如果WS - Addressing指示这样做的话)返回SOAP错误。
If there is no return statement, then the evaluation of the last statement in the method is returned (if it can be, if not Scala returns a compilation error.)
如果没有返回语句,将返回对方法的最后一个语句的求值(如果可行并且Scala没有返回编译错误的话)。
It will not return an error to standard output if the file is not found. One way to test the return of the command is to use substitution, like shown in Listing 8.
即使找不到文件,它也不会向标准输出返回错误。
Another possibility is to return an error to the user (for example, if the user is trying to buy an item that's no longer available).
另一种可能性是向用户返回一个错误(例如,如果用户正在购买一个不再销售的商品)。
If the credentials prove to be invalid, return an error.
如果凭证经证明是无效的,那么便会返回错误。
For the sake of simplicity, I just return the error message if the call fails.
为简便起见,调用失败时仅返回错误消息。
If the specified mode is incorrect, any of the regex functions will return an error.
如果指定的模式不正确,所有regex函数都将返回错误。
Because they are identifiers, the addresses may be invalid — meaning they may return a "404 - Resource not found" error if you try to follow them.
既然是标识符,这个地址就可能是无效的,就是说如果尝试打开该地址就会返回“404-Resourcenotfound”错误。
This demonstrates that we can return a fault object even if a true runtime error didn't occur.
这显示出,即便未发生真正的运行时错误,我们也可以返回一个fault对象。
At any point, if the sun elevation or sun azimuth errors or the momentum vector error exceeds tolerances, the ACS will return to an appropriate mode in order to correct the problem.
在任何时间点,如果太阳仰角或是太阳方位角的错误或是动量向量的错误超过容忍度时,那么ACS将会为了修正此问题而回到适当的模式。
At any point, if the sun elevation or sun azimuth errors or the momentum vector error exceeds tolerances, the ACS will return to an appropriate mode in order to correct the problem.
在任何时间点,如果太阳仰角或是太阳方位角的错误或是动量向量的错误超过容忍度时,那么ACS将会为了修正此问题而回到适当的模式。
应用推荐