Skip to content

Commit

Permalink
[Java CDK] Fix java interop compilation issue in Config/TransientErro…
Browse files Browse the repository at this point in the history
…rException. (#41996)
  • Loading branch information
akashkulk authored Jul 17, 2024
1 parent 95b10f1 commit 990d1e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion airbyte-cdk/java/airbyte-cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,11 @@ corresponds to that version.
## Changelog

### Java CDK

|
=======
| Version | Date | Pull Request | Subject |
|:------------|:-----------| :--------------------------------------------------------- |:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 0.41.6 | 2024-07-17 | [\#41996](https://github.com/airbytehq/airbyte/pull/41996) | Fix java interop compilation issue in Config/TransientErrorException. |
| 0.41.5 | 2024-07-16 | [\#42011] (https://github.com/airbytehq/airbyte/pull/42011) | Async consumer accepts null default namespace |
| 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. |
| 0.41.3 | 2024-07-15 | [\#41680](https://github.com/airbytehq/airbyte/pull/41680) | Fix: CompletableFutures.allOf now handles empty list and `Throwable` |
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.41.5
version=0.41.6
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ class ConfigErrorException : RuntimeException {
val internalMessage: String
val displayMessage: String

@JvmOverloads
constructor(displayMessage: String, internalMessage: String = "") : super(displayMessage) {
this.displayMessage = displayMessage
this.internalMessage = internalMessage
}

@JvmOverloads
constructor(
displayMessage: String,
exception: Throwable?,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ package io.airbyte.commons.exceptions
class TransientErrorException : RuntimeException {
val internalMessage: String

@JvmOverloads
constructor(displayMessage: String, internalMessage: String = "") : super(displayMessage) {
this.internalMessage = internalMessage
}

@JvmOverloads
constructor(
displayMessage: String,
exception: Throwable?,
Expand Down

0 comments on commit 990d1e3

Please sign in to comment.