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 > FTP > 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 adapter provides the following fault business objects that the wizard creates:
- DuplicateRecordFault
The adapter generates this fault for the:
- outbound Create operation when an error occurs because the file specified already exists in the specified directory
- ServerToServerFileTransfer operation when the file already exists in the second server directory
- Retrieve operation when the file to be retrieved already exists in the local directory. This occurs when the FileInLocalDirectory property is set to true or when the splitting is enabled.
- RecordNotFoundFault
The adapter generates this fault when processing the Create, Append, Delete, Overwrite, Retrieve, ExecuteFTPScript, and ServerToServerFileTransfer operations when the file directory path or script file does not exist in the specified directory path. This fault occurs when the directory path does not exist and when the sequence file does not exist during the Create operation.
- MissingDataFault
The adapter generates this fault when required values are not provided, such as when the file content is null or the file name or directory path is empty.
During a Retrieve operation, the adapter generates this fault when an error occurs because the delimiter is null or not valid. If splitCriteria is null or invalid when Splittingfunctionclassname is SplitByDelimiter and when LocalDirectoryPath is null, a MissingData fault is thrown with the message that the LocalDirectoryPath is missing. The adapter does not throw an exception when splitCriteria is null or not valid and SplitBySize is configured. During a Retrieve operation, the adapter generates this fault when an error occurs because the delimiter is null and SplitByDelimiter is configured.