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语句失败并生成一个错误,那么控制将被传递给条件处理程序。
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状态码,应用程序可以提供一个特殊的错误处理函数来处理这种情况。
Note that condition functions are not asynchronously signal-safe and should not be called from a signal handler.
注意,条件函数并不是异步信号安全的,因此不能在信号处理函数中调用。
If you have not declared a handler for a condition, DB2 passes control to the next statement in the SQL procedure body.
如果没有为条件声明处理程序,DB 2将把控制器传递到SQL过程体中的下一个语句。
If a statement in your SQL procedure raises an SQLWARNING or NOT FOUND condition and if you have declared a handler for the respective condition, DB2 passes control to the corresponding handler.
如果SQL过程中有一个语句发出SQLWARNING或NOTFOUND条件,并且为相应的条件声明了一个处理程序,那么DB 2将把控制转移到相应的处理程序。
If a statement raises a condition for which a handler exists, the values of the SQLSTATE and SQLCODE variables are available at the beginning of the handler execution.
如果某条语句发出一个存在处理程序的条件,那么SQLSTATE和SQLCODE变量的值就可以在开始执行处理程序时获得。
For handlers, you define the event (such as GET), the handler, and a condition.
对于处理程序,您需要定义事件(如get)、处理程序和条件。
When that condition happen, a handler can choose to handle it, or pass it along to the next handle.
当条件发生时,处理器可以选择去处理它或是把它交给下一个处理器处理。
This means that a handler several method calls away from a condition signaling point can actually do stuff in that context.
这意味着几个方法从某个条件发生的地方所调用的处理器实际上可以在相应的上下文中进行叠加。
Condition &1 specified in handler not defined.
说明:条件:1,不定义的处理程序规定。
Each handler specifies some form of filter condition on the type of exception it handles.
每个处理程序对它处理的异常类型指定某种形式的筛选条件。
Your handler implementation that listens to the raw event must act upon the condition that you use to differentiate the lists, and deliver the event only to the appropriate list or lists.
侦听原始事件的处理程序实现必须遵照用于区别列表的条件来采取行动,并将事件只传送到适当的一个或多个列表。
With this feature, you can set up or change the bound method depending on a condition and to dynamically attach an event handler to a control.
这个功能允许您视情况设定或是变更系结方法,并且动态地将事件处理常式附加到控制项。
With this feature, you can set up or change the bound method depending on a condition and to dynamically attach an event handler to a control.
这个功能允许您视情况设定或是变更系结方法,并且动态地将事件处理常式附加到控制项。
应用推荐