0x0001 the system does not display the critical-error-handler message box. Instead, the system sends the error to the calling process.
系统不显示错误对话框,相反,系统返回错误代码给主调进程。
You then need to implement a DOMErrorHandler object, to which validation errors will be reported, and register it with the Document using the error-handler parameter.
然后需要实现一个DOMError handler对象,验证错误将报告给这个对象,再用error - handler参数将这个对象注册到Document上。
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.
理由在于:一个有错误但带有优秀的错误处理机制的应用程序,比近乎完美但其错误处理机制却不友好的应用程序,更能赢得最终用户的欢心。
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.
这可能包括事件关联函数、事件处理函数、错误方法和计时器方法。
A special error handler in the client receives this exception and must parse the parser's error message to retrieve the required information!
客户中一个专门的错误处理程序接收这种异常,并且必须在解析器错误消息中检索出需要的信息!
The error handler displays problems with an alert dialog.
错误处理程序通过警告对话框显示问题。
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.
事件处理程序采集的信息必须编码在一个错误信息中,该错误信息包装在一个异常对象中提交给解析器客户。
The query is executed with a success handler and an error handler function.
通过成功处理程序和错误处理程序函数执行查询。
After a custom error handler is installed, the parser doesn't throw exceptions anymore.
安装了定制错误处理器后,语法分析器不再抛出异常。
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中适当的异常处理要求每个过程有一个错误处理程序,这个错误处理程序应该可以很容易地告诉我们出错的过程。
Listing 2 adds a class to the source shown in Listing 1 and registers that error handler with the parser.
清单2在清单1中所示的源代码中添加一个类,并在语法分析器中注册该错误处理程序。
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.
由于此代码仅仅作为样例使用,我们没有执行任何实际的错误处理,但是我们实现了一个虚构的异常处理程序,从而完成代码的编译。
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语句失败并生成一个错误,那么控制将被传递给条件处理程序。
The only step left is to register your error handler implementation with the parsing process.
剩下的惟一步骤是将错误处理实现注册到解析过程。
The result of the replications is shown as an alert box, activated through the success or error handler.
复制结果显示为警告框,通过成功或错误处理程序激活。
The SIGNAL statement is used to explicitly raise an error and force the invocation of a handler.
signal语句用于显式地发出一个错误并强制调用处理程序。
In the case that there were some error, the associated fault handler is notified instead.
而如果服务调用中出现了错误,则相关联的fault处理器会被通知。
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错误。
Otherwise, a trap occurs for find, and the exception handler emits the standard file not found error.
否则,发生中断以find(查找),并且异常处理程序发出标准的file not found(文件未找到)错误。
Note that if no error handler is attached, the default implementation throws a SAXParseException on any validation error.
注意,如果没有指定错误处理程序,则默认的实现对任何验证错误都抛出SAXParseException异常。
The error handler, if one is provided, is the index on the stack of the Lua code to handle any errors that occur.
如果提供错误处理程序,那么它应该是用于处理任何发生的错误的Lua代码在栈上的索引。
Specifically, there are three kinds of handler chains: request, response, and error.
具体来说,有3种句柄链:请求、响应和错误。
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实例,并设置一个错误处理程序。
This is required if an unexpected error occurs and there is no fault handler specifically modeled to handle it.
如果发生意外错误,并且没有专门建模错误处理程序来处理该错误,则需要该操作。
Among other things, it defines a global error handler, and it is where you would place any platform-specific code to run before executing main application logic.
除了其他事情外,它定义一个全局错误处理程序,在此将放置在执行主应用程序逻辑之前要运行的特定于平台的代码。
Listing 13 demonstrates how a specific error can transfer control to the exit handler where a user-defined error message is returned depending on the value of the SQLCODE.
清单13展示了一个特定的错误如何将控制转移给退出处理程序,其中根据SQLCODE的值返回用户定义的错误消息。
When the INSERT statement fails with the error code specified in the DECLARE exit handler statement, control passes to the handler, and the procedure is exited.
当insert语句失败并且错误代码在DECLAREEXIThandler语句中指定,那么控制将传递到处理程序,而过程将退出。
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.
这时如果您想保存某个订阅行为,您将得到错误信息,因为服务器上并不存在合适的触发器处理程序。
应用推荐