When describing the various modeling scenarios, we begin with an example exhibiting the error, which we then generalize into an anti-pattern.
在描述各个建模场景时,我们首先会提供一个展示错误的示例,然后再将其归纳为反模式。
A common example of an error in a profile is a stereotype or class attribute with no type.
概要文件中的一个普通错误案例都是原型或者没有类型的类属性。
Correcting even one calculation error or adding one other point or example can easily add a few points to your grade.
修正即便仅仅是一个计算误差或者是一个另外的观点事例能够简简单单地增加一点点分数。
As is usual in example code, error checking has been omitted, but even so, this is a quick and easy way of saving data to file.
因为在示例代码中通常省略了错误检查,即便如此,这仍是将数据保存到文件中的快速简单的方法。
An example error is depicted in Listing 3.
清单3描述了一个错误实例。
In this example, I've attempted to capture an error condition when compiling source code.
在这个示例中,我要捕获源代码编译时的错误条件。
The following example specifies the error code returned during EXIT.
以下示例指定EXIT期间返回的错误代码。
As an example, one error you can encounter relates to TIMESTAMP or DATE fields which do not have a default field value.
举个例子,您可能会遇到关于TIMESTAMP或DATE字段没有默认字段值的错误。
Error detection example 2: Quantify annotated source.
错误检测实例2:量化标注源。
Error detection example 3: Purify object and reference graph.
错误检测实例3:Purify对象和指针图。
If you don't want to grant this permission to all users, specify only the user listed in the error (in this example, Scott).
如果您不希望将该权限授予所有的用户,可以仅指定错误中列出的用户(在本范例中是scott)。
Error detection example 1: Rational Purify memory error and memory leak reports.
错误检测实例1:RationalPurify内存错误和内存泄露报告。
For the example, the command is as follows (with error handling).
对于本实例而言,命令如下(具备错误处理)。
Listing 3 shows an example of our first error, sqlcode SQL4301 with return code 0.
清单3显示第一个错误的例子,sqlcode为sql 4301,返回码为0。
When compiling the example application, you may receive error messages relating to dwg.h.
在编译这个示例应用程序时,可能会收到与dwg . h相关的错误消息。
Error Informs the user about general problems, for example, incorrect passwords, an expired session, etc.
Error把一般问题告诉用户,例如不正确的密码、失效的会话等。
Know how to treat new tags — for example, ignore them or report an error (but don't crash).
知道如何处理新的标签,比如忽略或者报告错误(但是不能崩溃)。
File to run the MetaphoneSuggest script instead of displaying a 404 error page. For example, if your default httpd.conf.
要运行metaphonesuggestscript脚本,我们需要对httpd .conf文件进行适当修改,否则将显示404错误页面。
The traditional way of solving this problem is to look at the error logs. For example, you might run.
解决这个问题的传统方法是查看错误日志。
If you want to eliminate those, you can redirect the ij tool's standard output and standard error. For example, if you're working in the Bash shell, you can do this with.
如果想要消除这些消息,可以重定向ij工具的标准输出和标准错误。
Note that trace information is not always helpful when diagnosing an error; for example, it might not capture the error condition if
注意,在诊断错误时,跟踪信息并不总是有用。
Provides an interface that enforces standardized expected results (for example, "inconclusive," "pass," "fail," "error") during execution of scripts.
提供了这样一种界面,它可以在执行脚本的过程中,使预期结果标准化(比如“没有决定的”、“通过”、“失败”、“错误”)。
As a result, if someone comes across an error (for example, a 404 page Not Found, 403 Forbidden, or 500 Internal Server error), he will only see an ugly error code page.
因此,如果某人遇到一个错误(例如,404PageNotFound、403 Forbidden或500InternalServerError等错误),他将看到一个难看的错误代码页面。
You can use this to follow the output in an error log, for example, to see what errors are appearing as they're written to the log.
您可以使用该选项接着显示错误日志中的输出,例如,要在将错误写入到日志的同时查看这些错误。
If a serious error occurs, for example, an invalid opcode, the SPU is stopped and an interrupt is delivered to the ppe.
如果发生了一个非常严重的错误,例如一个无效的操作码,那么SPU就会停止,并向PPE发送一个中断。
V8 will throw an exception if an error occurs - for example, when a script or function attempts to read a property that does not exist, or if a function is called that is not a function.
当错误发生时,v8会抛出一个异常。比如,当一个脚本或者函数试图去访问一个并不存在的属性,或者调用一个并不是函数的函数。
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.
例如,如果对字节码故意做了更改,或者在通过网络传送类文件时现出了错误,那么就可能发生这个异常。
For example, an error handling method can be implemented in a callback base class so that it can be used by all callbacks to ensure all remote service exceptions will be handled consistently.
例如,可以在回调基类中实现错误处理方法,让所有回调都可以使用它,从而确保以一致的方式处理所有远程服务异常。
For example, the SOA infrastructure may have error reporting or auditing facilities.
例如,SOA基础结构可以提供错误报告和审核机制。
For example, we're representing network utilization and error rates in the default set.
例如,我们以默认设置表示网络利用率和错误率。
应用推荐