Skip to content

Commit 990d1e3

Browse files
authored
[Java CDK] Fix java interop compilation issue in Config/TransientErrorException. (#41996)
1 parent 95b10f1 commit 990d1e3

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

airbyte-cdk/java/airbyte-cdk/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,11 @@ corresponds to that version.
171171
## Changelog
172172

173173
### Java CDK
174-
174+
|
175+
=======
175176
| Version | Date | Pull Request | Subject |
176177
|:------------|:-----------| :--------------------------------------------------------- |:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
178+
| 0.41.6 | 2024-07-17 | [\#41996](https://github.com/airbytehq/airbyte/pull/41996) | Fix java interop compilation issue in Config/TransientErrorException. |
177179
| 0.41.5 | 2024-07-16 | [\#42011] (https://github.com/airbytehq/airbyte/pull/42011) | Async consumer accepts null default namespace |
178180
| 0.41.4 | 2024-07-15 | [\#41959](https://github.com/airbytehq/airbyte/pull/41959) | Allow setting `internal_message` in Config/TransientErrorException. Destinations: shorten error message for INCOMPLETE stream status. |
179181
| 0.41.3 | 2024-07-15 | [\#41680](https://github.com/airbytehq/airbyte/pull/41680) | Fix: CompletableFutures.allOf now handles empty list and `Throwable` |
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=0.41.5
1+
version=0.41.6

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/exceptions/ConfigErrorException.kt

+2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ class ConfigErrorException : RuntimeException {
1111
val internalMessage: String
1212
val displayMessage: String
1313

14+
@JvmOverloads
1415
constructor(displayMessage: String, internalMessage: String = "") : super(displayMessage) {
1516
this.displayMessage = displayMessage
1617
this.internalMessage = internalMessage
1718
}
1819

20+
@JvmOverloads
1921
constructor(
2022
displayMessage: String,
2123
exception: Throwable?,

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/exceptions/TransientErrorException.kt

+2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ package io.airbyte.commons.exceptions
1111
class TransientErrorException : RuntimeException {
1212
val internalMessage: String
1313

14+
@JvmOverloads
1415
constructor(displayMessage: String, internalMessage: String = "") : super(displayMessage) {
1516
this.internalMessage = internalMessage
1617
}
1718

19+
@JvmOverloads
1820
constructor(
1921
displayMessage: String,
2022
exception: Throwable?,

0 commit comments

Comments
 (0)