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 > Oracle E-Business Suite > Reference
Fault business objects
The adapter supports business faults, which are exceptions that are anticipated and declared in the outbound service description, or import. Business faults occur at predictable points in a business process, and are caused by a business rule violation or a constraint violation.
The WebSphere Adapter for Oracle E-Business Suite enables faults for you. Manual configuration of faults is not required. Some faults contain the matchCount attribute which provides additional information about the error. For others, WBIFault contains all the information needed to handle the fault.
The adapter provides the following fault business objects that the wizard creates:
- IntegrityConstraintFault
When processing a Create, Update, or Execute operation (other than on stored procedure), the adapter throws an integrity constraint fault if the Oracle database throws the SQLException exception for an integrity constraint violation.
For example, if a foreign key is not found, the adapter throws this fault.
- MatchesExceededLimitFault
When processing a RetrieveAll operation, the adapter returns this fault if the number of records returned from the database query exceeds the value for the MaxRecords property in the interaction specification.
To increase the number of records that are returned, increase the value of the MaxRecords property in the interaction specification properties for the RetrieveAll operation.
The business object for this fault has only one property, matchCount, which is a string that contains the number of matches.
- MissingDataFault
If the business object that is passed to the outbound operation does not have all the required attributes, the adapter throws this fault.
- MultipleMatchingRecordsFault
When processing a Retrieve or Update operation, the adapter throws this fault if the query returns more than one record for the specified keys. The business object for this fault has one property, matchCount, a string that contains the number of matches.
- ObjectNotFoundFault
This fault can be thrown during a Create or Update operation. During the Create operation, the adapter retrieves the single cardinality child object if the ownership is false for this child object. If the retrieval of the child object does not return results, this fault is thrown.
- RecordNotFoundFault
When retrieving data, the adapter returns this fault if the record is not found in the database for the keys specified. This fault can occur for the Retrieve, RetrieveAll, Delete, and Update operations.
- UniqueConstraintFault
When processing a Create or Update operation, the adapter returns this fault if it receives a SQLException exception from the Oracle database because of a unique constraint violation.
Related concepts: