Business Faults
Business faults are application-specific faults that are generated when there is a problem with the information being processed (for example, when a social security number is not found in the database). A business fault occurs when an application executes a throw activity or when an invoke activity receives a fault as a response. The fault name of a business fault is specified by the BPEL process service component. The messageType
, if applicable, is defined in the WSDL file. A business fault can be caught with a faultHandler
using the faultName
and a faultVariable
.
<catch faultName="ns1:faultName" faultVariable="varName">