error handler
错误处理程序
[计] 差错处理器
2025-11-23 20:34 浏览次数 11
错误处理程序
[计] 差错处理器
after a custom error handler is installed, the parser doesn「t throw exceptions anymore.
安装了定制错误处理器后,语法分析器不再抛出异常。
parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
参数会针对无法编码的字元以及无法解码的位元组序列指定错误处理常式。
each time the error handler passes control back to a calling procedure, that procedure becomes the current procedure.
每次错误处理程序将控制返回给调用过程时,那个过程就成为当前过程。
they perform additional checks for error conditions, and in the case of an error, they invoke an error handler (see parameter validation).
他们执行额外的错误条件检查,并在发生错误时,他们援引的错误处理程序(见参数验证) 。
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状态码,应用程序可以提供一个特殊的错误处理函数来处理这种情况。
most controls have an error event from which you can write an error handler (see error trapping).
大多数的控制项都有供您撰写错误处理常式的错误事件 (请参阅撷取错误)。
thou shall not use the error handler as a convenience to account for poorly written code.
为图省事而不使用错误处理器只能被认为是糟糕代码。
the executesql function takes an sql string, then optionally a parameter list, plus success and error handler functions.
executesql函数接受一个sql字符串,然后是一个可选的参数列表,外加成功和错误处理器函数。
a special error handler in the client receives this exception and must parse the parser」s error message to retrieve the required information!
客户中一个专门的错误处理程序接收这种异常,并且必须在解析器错误消息中检索出需要的信息!
notice that the error handler for the latter undoes the work of the former so that data is not left in an inconsistent state.
请注意针对后者的错误处理程序可撤销前者所做的工作,以使数据不会处在一种不一致的状态。
note that if no error handler is attached, the default implementation throws a saxparseexception on any validation error.
注意,如果没有指定错误处理程序,则默认的实现对任何验证错误都抛出saxparseexception 异常。
use the code commenter and error handler add-in to automatically add comments and standardized error handling code to procedures using customizable templates.
和错误处理程序外接程序,可以自动向使用可自定义模板的过程中添加注释和标準化的错误处理代码。
the error handler displays problems with an alert dialog.
错误处理程序通过警告对话框显示问题。
create a global error handler at the page or application level that catches all unhandled exceptions and routes them to a generic error page.
在网页或应用程式层级建立全域错误处理常式,用来拦截所有未经处理的例外状况,并将其传送到泛用错误网页。
net calls the error handler from step 1.
net调用第 1步中的错误处理程序。
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 only step left is to register your error handler implementation with the parsing process.
剩下的惟一步骤是将错误处理实现注册到解析过程。
listing 2 adds a class to the source shown in listing 1 and registers that error handler with the parser.
清单2在清单1 中所示的源代码中添加一个类,并在语法分析器中注册该错误处理程序。