Errno.h is needed for the declaration of errno, the global system call error number variable (more on that below).
h是声明errno所需要的,errno是全局系统调用错误号变量(下面会有更多介绍)。
If the remote procedure returns an unsupported result set type, such as LOB or XML, the CALL returns error SQL3324N.
如果远程过程返回不受支持的结果集类型,比如lob或XML,那么CALL返回错误SQL 3324n。
In contrast, if he infers that she is not interested when she is in fact interested, then he has made an error of false negative (what the statisticians call the "Type II" error).
相反,如果他推断,她不感兴趣,而实际上她感兴趣,那么他犯了假阴性的错误(统计学家称为“第二类”错误)。
If the error resulted from a call on the database object, you would invoke those methods on the database object instead.
如果错误是由于调用数据库对象而产生的,那么可以在那个数据库对象上调用上述两个方法。
If he infers that she is interested when she is in fact not interested, then he has made an error of false positive (what the statisticians call the "Type I" error).
如果他推断说,她感兴趣,而她其实上不感兴趣,那么他犯了假阳性的错误(统计人员所谓的“第一类”错误)。
It's important to note that the call that fails with an error might not be the cause of the error, which could have happened much earlier.
值得重点注意的是,因某个错误而失败的调用可能并不是该错误的原因,错误的原因可能已经在更早以前发生。
The connection manager can then call this method when the resource adapter indicates a connection error, or even periodically to remove broken connections from the pool.
然后连接管理器在资源适配器指示连接错误时调用这个方法,甚至定期调用该方法,以便从池中排除坏掉的连接。
Alerts can be sent using email or pager to the on-call administrator when problems reach warning and error thresholds.
当问题严重程度到达警告和错误的阈值时,能够以电子邮件或者纸质的方式向管理员发送告警信息。
As with properties, any attempt to call a private method from outside the containing class causes a fatal error.
与属性一样,尝试从包含类外部调用私有方法将导致致命错误。
You're encapsulating the remote call in a server-side controller, so you might choose to do some more extensive error correction there.
您正在将远程调用封装在一个服务器端控制器中,因此可以在这里加强错误处理。
Be sure your script is protected from an error; if the method call fails, it throws an exception.
要确保脚本能够应对错误;如果方法调用失败,它会抛出异常。
These situations often call for special schemas defining information for every specific error, thus effectively extending domain semantic model to describe failure scenarios.
这些情况下,往往需要为每个具体错误使用特定模式来定义信息,这样可以有效地扩展领域语义模型以描述失败场景。
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).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
Also, the test in Line 13 will fail to detect an error because the result of the call will not be an empty string.
第13行中的检查也无法探测到错误,因为调用的结果不是空字符串。
Notify the user if an error occurred during the asynchronous call.
如果在异步调用过程中出现错误,则通知用户。
The setlocale call determines the character set, error messages catalogs, monetary value formatting, numerical conventions, string collation, and alphabetic ordering.
可以调用setlocale来确定字符集、错误消息类别、货币值格式、数字转换、字符串校勘和字母排序。
Then we call the exit() function with an error code; for this utility, we've chosen to return different numbers for every different error condition.
随后我们用错误码调用exit()函数;对于本实用程序,我们已经选择了对每个不同错误条件返回不同数字。
If a previous HTTP error has already opened the error window, the focus call makes it the current window, which can cause usability issues if the HTTP error occurs again and again.
如果之前的HTTP错误已经打开了错误窗口,那么focus调用将使之成为当前窗口,如果再三发生HTTP错误,那么会导致可用性问题。
When an error occurs in a system call, you can access and display a message corresponding to the error in at least one of two ways: by using either the perror or the strerror function.
当系统调用中出现错误时,您至少可以用以下两种方式的一种来访问和显示与该错误对应的消息:通过使用perror或strerror函数。
The sample program checks for the error format in the event occurrence data if the select() call returned an error.
示例程序在事件发生数据中检查错误格式,判断select()调用是否返回了错误。
If it's set to 1, you know the request was made using an asynchronous Ajax call, and you should just send back a message with OK or an error.
如果该字段设置为1,则表明请求是通过使用一个异步ajax调用发出的,您应该只返回一条包含OK或一个错误的消息。
For example, if you call setpgid on a system without job control, you'll get an ENOSYS error.
例如,如果在不具有作业控制的系统上调用setpgid,则将会接收到ENOSYS错误。
For each diagnostic record, a SQLGetDiagRec function call retrieves SQLSTATE values, diagnostic messages, and native error codes.
对于每条诊断记录,SQLGetDiagRec函数调用将检索s QL state值、诊断消息和本地错误代码。
Unfortunately, it will result in the error message shown in Figure 5, because the function declared in the dojo.forEach method call creates a closure that defines this as referring to its own body.
不幸的是,它将导致图5所示的错误消息,因为在dojo. forEach方法调用中声明的函数创建了一个闭包,该闭包将this定义为引用它本身。
When the SPU code finishes or hits a critical error condition, it stops executing and the host process returns from the ioctl call.
当SPU代码执行完成或碰到严重的错误条件时,就会停止执行,宿主进程也会从ioctl调用中返回。
So if you misspelled "secret" in the above example, or tried to call a method on it that did not exist, you would get a compile-time error.
因此如果在上例中拼错了“secret”,或尝试调用根本不存在的方法,那么将出现编译时错误。
One detail you can't see from the output is that perror() writes its message to the standard error channel (stderr); the printf() call in Listing 1 is writing to the standard output channel (stdout).
您无法从输出中看到的一个细节是,perror() 将其消息写入标准错误通道 (stderr);清单1中的printf()调用将写入标准输出通道 (stdout)。
Validate_ptrs If a pointer that was previously not allocated by malloc is passed to the free call, an error message is thrown and the program is aborted.
validate_ptrs如果向free调用传递的指针并不是以前由malloc分配的,那么将会引发一个错误消息,而该程序将被中止。
The error occurs because I'm trying to call the toString() method on the appointment instance before the rest of the fluent-interface setter methods are called.
出现错误的原因在于,我试图在连贯接口setter方法被调用之前调用appointment实例上的toString()方法。
The method call will return a div with all error messages (if any exist), so that one can be easily displayed
这个方法调用将返回一个包含所有错误消息的div(如果有错误消息的话),可以很容易地显示它
应用推荐