| 10/01/2025 | 9405 | JDBC | Added
- Added the following methods to the cdata.jdbc.klaviyo.KlaviyoDriver class. If you pass these methods an exception with no error records, an InvalidArgumentException is thrown.
- containsErrorSource: Returns true if the exception contains an error record for the provided source name, or false if otherwise.
- getErrorCodeFromSource: Returns the numeric error code from the error record with the given source, or -1 if there is no error record from that source.
- containsErrorCode: Returns true if the exception contains an error record with the provided error code, or false otherwise.
- findErrorProperty: Returns the value of the property with the given name, or null if no property with that name is defined.
- formatErrorRecords: Returns a string containing all the exception's error records. Includes the messages, codes, properties, and error location for each record.
|