File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
features/dd-sdk-android-flags
src/main/kotlin/com/datadog/android/flags Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ data class com.datadog.android.flags.FlagsConfiguration
2828 companion object
2929interface com.datadog.android.flags.FlagsStateListener
3030 fun onStateChanged(com.datadog.android.flags.model.FlagsClientState)
31- class com.datadog.android.flags.NetworkRequestFailedException : RuntimeException
32- constructor(String)
3331interface com.datadog.android.flags.StateObservable
3432 fun getCurrentState(): com.datadog.android.flags.model.FlagsClientState
3533 fun addListener(FlagsStateListener)
Original file line number Diff line number Diff line change @@ -69,10 +69,6 @@ public abstract interface class com/datadog/android/flags/FlagsStateListener {
6969 public abstract fun onStateChanged (Lcom/datadog/android/flags/model/FlagsClientState;)V
7070}
7171
72- public final class com/datadog/android/flags/NetworkRequestFailedException : java/lang/RuntimeException {
73- public fun <init> (Ljava/lang/String;)V
74- }
75-
7672public abstract interface class com/datadog/android/flags/StateObservable {
7773 public abstract fun addListener (Lcom/datadog/android/flags/FlagsStateListener;)V
7874 public abstract fun getCurrentState ()Lcom/datadog/android/flags/model/FlagsClientState;
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ package com.datadog.android.flags
99/* *
1010 * Exception thrown when a network request for flag evaluations fails.
1111 *
12- * This exception is used to communicate network failures when updating evaluation contexts.
13- * It provides a clear signal that the failure was due to network connectivity issues rather
14- * than application logic errors.
12+ * This exception is used internally to communicate network failures when updating evaluation
13+ * contexts. It provides a clear signal that the failure was due to network connectivity issues
14+ * rather than application logic errors.
1515 *
1616 * @param message A descriptive message about the network failure
1717 */
18- class NetworkRequestFailedException (message : String ) : RuntimeException(message)
18+ internal class NetworkRequestFailedException (message : String ) : RuntimeException(message)
You can’t perform that action at this time.
0 commit comments