The BatchFTP getIfExists Method Incorrectly Throws A BatchException In Java CAPS 6.3.
(Doc ID 1532026.1)
Last updated on JULY 10, 2020
Applies to:Oracle Java CAPS Enterprise Service Bus - Version R6.3 and later
Information in this document applies to any platform.
There is a difference in the behavior of the BatchFTP_1.getClient().getIfExists() method between Java CAPS 6.2 and Java CAPS 6.3 which is:
- In Java CAPS 6.2, if there is no file found matching the name pattern given in "Target Directory Name" and "Target File Name", no exception is thrown (it returns silently)
- In Java CAPS 6.3, if there is no file found matching the name pattern given in "Target Directory Name" and "Target File Name", a BatchException is thrown as per below.
java.io.FileNotFoundException: BATCH-MSG-M0172: FtpFileClientImpl.get(): No qualified file is available for retrieving.--- End of nested exception.
The same behavior is required in Java CAPS 6.3 that was in Java CAPS 6.2. The behavior in Java CAPS 6.2 is consistent with the behavior described in the JavaDoc which states:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document