This is the reason: a faulty application with good error-handling seems to leave end-users with more satisfaction and comfort than one that's nearly perfect, but has a hostile error-handler.
理由在于:一个有错误但带有优秀的错误处理机制的应用程序,比近乎完美但其错误处理机制却不友好的应用程序,更能赢得最终用户的欢心。
0x0001 the system does not display the critical-error-handler message box. Instead, the system sends the error to the calling process.
系统不显示错误对话框,相反,系统返回错误代码给主调进程。
After a custom error handler is installed, the parser doesn't throw exceptions anymore.
安装了定制错误处理器后,语法分析器不再抛出异常。
Deliberately causing an error isn't easy, but if you run across a repeatable situation that does happen, the information made available through the handler can prove to be extremely helpful.
想故意制造些错误并不容易,但是如果偶然发现某种情况确实重复发生,那么通过处理器得到的信息是极有帮助的。
This is — as you might expect — an exception handler, which will now catch the E739 error that is thrown if mkdir is unable to create the requested directory.
这就是——如您所期待的——一个异常处理器,它现在将会捕捉如果mkdir不能创建请求的目录而被抛出的E739错误。
This debugger runs in the context of the place where the error happened, and it can do the same thing as a handler can do - including provide new values for variables and so on.
该调试器运行在错误发生的上下文中,同时它可以完成处理器所能完成的事情——包括为变量提供新的值等等。
The error handler displays problems with an alert dialog.
错误处理程序通过警告对话框显示问题。
Listing 2 adds a class to the source shown in Listing 1 and registers that error handler with the parser.
清单2在清单1中所示的源代码中添加一个类,并在语法分析器中注册该错误处理程序。
Notice that the error handler for the latter undoes the work of the former so that data is not left in an inconsistent state.
请注意针对后者的错误处理程序可撤销前者所做的工作,以使数据不会处在一种不一致的状态。
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.
如果用户在尝试访问这个资源时还没有经过身份验证,那么用户会收到401状态码,应用程序可以提供一个特殊的错误处理函数来处理这种情况。
This might include the event hooks, the event handler, the error methods, and the timer methods.
这可能包括事件关联函数、事件处理函数、错误方法和计时器方法。
The SIGNAL statement is used to explicitly raise an error and force the invocation of a handler.
signal语句用于显式地发出一个错误并强制调用处理程序。
In the case of the DB2 example in the left column of Table 3, if a particular SQL statement fails and generates an error, control is passed to the condition handler.
对于表3左侧列的DB 2示例,如果某条sql语句失败并生成一个错误,那么控制将被传递给条件处理程序。
NET calls the error handler from step 1.
NET调用第1步中的错误处理程序。
For some exceptions, the CPU control unit also generates a hardware error code and pushes it on the Kernel Mode stack before starting the exception handler.
对每个异常,CPU控制单元也生成一个硬件错误码,并在开始执行处理函数前将其压入内核空间栈中。
All phases will stop and the request will be aborted if a handler returns an error status.
如果处理程序返回一个错误状态,所有阶段将停止,请求将被中止。
Create a global error handler at the page or application level that catches all unhandled exceptions and routes them to a generic error page.
在网页或应用程序层级建立全域错误处理常式,用来拦截所有未经处理的例外状况,并将其传送到泛用错误网页。
The query is executed with a success handler and an error handler function.
通过成功处理程序和错误处理程序函数执行查询。
Note that proper exception handling in SQL PL dictates that each procedure has an error handler that could easily enough have told us the failing procedure.
注意,SQLPL中适当的异常处理要求每个过程有一个错误处理程序,这个错误处理程序应该可以很容易地告诉我们出错的过程。
The information gathered by the event handler must be encoded in an error message that's wrapped in an exception object and posted to the parser's client.
事件处理程序采集的信息必须编码在一个错误信息中,该错误信息包装在一个异常对象中提交给解析器客户。
Note that if no error handler is attached, the default implementation throws a SAXParseException on any validation error.
注意,如果没有指定错误处理程序,则默认的实现对任何验证错误都抛出SAXParseException异常。
The only step left is to register your error handler implementation with the parsing process.
剩下的惟一步骤是将错误处理实现注册到解析过程。
The error handler, if one is provided, is the index on the stack of the Lua code to handle any errors that occur.
如果提供错误处理程序,那么它应该是用于处理任何发生的错误的Lua代码在栈上的索引。
You can then work with the XMLReader instance as you would with a straight SAX application which of course includes setting an error handler.
接下来可以像处理一个简单SAX应用程序一样处理XMLReader实例,并设置一个错误处理程序。
Specifically, there are three kinds of handler chains: request, response, and error.
具体来说,有3种句柄链:请求、响应和错误。
Because this code is only a sample we don't perform any real error processing, but we do implement a dummy exception handler to allow the code to compile.
由于此代码仅仅作为样例使用,我们没有执行任何实际的错误处理,但是我们实现了一个虚构的异常处理程序,从而完成代码的编译。
This is required if an unexpected error occurs and there is no fault handler specifically modeled to handle it.
如果发生意外错误,并且没有专门建模错误处理程序来处理该错误,则需要该操作。
At this point, if you try to save a subscription, you will get an error because the appropriate trigger handler does not exist on the server.
这时如果您想保存某个订阅行为,您将得到错误信息,因为服务器上并不存在合适的触发器处理程序。
Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
参数会针对无法编码的字元以及无法解码的位元组序列指定错误处理常式。
Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
参数会针对无法编码的字元以及无法解码的位元组序列指定错误处理常式。
应用推荐