IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Problem determination > Fault handling support
Fault artifacts
To facilitate fault handling support, WebSphere Adapter Toolkit provides artifacts that include fault classes, fault business objects, a fault selector, and a fault binding class.
The following table shows AFC fault classes, corresponding fault business names, and fault type names. The configured fault binding and a descriptive example of each fault can be found in the section about configuration for fault handling.
Fault Exception in AFC Corresponding Fault Name Corresponding Fault Type Name DuplicateRecordException DUPLICATE_RECORD DuplicateRecordFault InvalidRequestException INVALID_REQUEST InvalidRequestFault MatchesExceededLimitException MATCHES_EXCEEDED_LIMIT MatchesExceededLimitFault MissingDataException MISSING_DATA MissingDataFault MultipleMatchingRecordsException MULTIPLE_MATCHING_RECORDS MultipleMatchingRecordsFault RecordNotFoundException RECORD_NOT_FOUND RecordNotFoundFault In addition to the fault classes, the following fault selector class and base fault binding class are provided:
- WBIFaultSelectorImpl
- WBIFaultDataBindingImpl
A utility class named FaultBOUtil can help you define simple custom fault business objects.
Related concepts: