First, in this example, you need to add a fault handler on the selected BPEL activity to catch the exceptions it throws.
首先,在本实例中,用户需要在选择的BPEL活动中添加故障处理程序,来捕捉其抛出的异常。
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错误。
In the details for the Catch element in the fault handler, select User-defined for the fault type.
在错误处理程序的Catch元素的详细信息中,选择user - defined作为错误类型。
A fault handler contains one or more catch elements.
错误处理程序包含一个或多个捕获元素。
What happens in these cases is that a generic "catch-all" handler is defined, which saves all error information in local variables.
这些情况下要做的事情就是定义一个通用的“万能(catch - all)”处理程序,用于在局部变量中保存所有错误信息。
The main feature of interest here is the use of a BPEL Fault Handler to catch the Fault thrown when an attempt to forward a message to the target Queue Manager fails.
这里关注的主要特性是在尝试将消息转发给目标QueueManager失败时,使用BPELFaultHandler捕获抛出的故障。
This is useful when debugging or when you want a catch-all message handler as the last message handler .
该选项可用于调试或希望将一个捕获所有消息的处理程序作为最后的消息处理程序的情况。
This is useful when debugging or when you want a catch-all message handler as the last message handler .
该选项可用于调试或希望将一个捕获所有消息的处理程序作为最后的消息处理程序的情况。
应用推荐