Skip to content

Commit 3a84d42

Browse files
mateoguzmanafacebook-github-bot
authored andcommitted
Make RetryableMountingLayerException internal (facebook#51171)
Summary: This class can be internalized as part of the initiative to reduce the public API surface. I've checked there are [no relevant OSS usages](https://github.com/search?type=code&q=NOT+is%3Afork+NOT+org%3Afacebook+NOT+repo%3Areact-native-tvos%2Freact-native-tvos+NOT+repo%3Anuagoz%2Freact-native+NOT+repo%3A2lambda123%2Freact-native+NOT+repo%3Abeanchips%2Ffacebookreactnative+NOT+repo%3AfabOnReact%2Freact-native-notes+NOT+user%3Ahuntie+NOT+user%3Acortinico+NOT+repo%3AMaxdev18%2Fpowersync_app+NOT+repo%3Acarter-0%2Finstagram-decompiled+NOT+repo%3Am0mosenpai%2Finstadamn+NOT+repo%3AA-Star100%2FA-Star100-AUG2-2024+NOT+repo%3Alclnrd%2Fdetox-scrollview-reproductible+NOT+repo%3ADionisisChytiris%2FWorldWiseTrivia_Main+NOT+repo%3Apast3l%2Fhi2+NOT+repo%3AoneDotpy%2FCaribouQuest+NOT+repo%3Abejayoharen%2Fdailytodo+NOT+repo%3Amolangning%2Freversing-discord+NOT+repo%3AScottPrzy%2Freact-native+NOT+repo%3Agabrieldonadel%2Freact-native-visionos+NOT+repo%3AGabriel2308%2FTestes-Soft+NOT+repo%3Adawnzs03%2FflakyBuild+NOT+repo%3Acga2351%2Fcode+NOT+repo%3Astreeg%2Ftcc+NOT+repo%3Asoftware-mansion-labs%2Freact-native-swiftui+NOT+repo%3Apkcsecurity%2Fdecompiled-lightbulb+com.facebook.react.bridge.RetryableMountingLayerException). ## Changelog: [INTERNAL] - Make com.facebook.react.bridge.RetryableMountingLayerException internal Pull Request resolved: facebook#51171 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: rshest Differential Revision: D74381780 Pulled By: cortinico fbshipit-source-id: 6d7255318669ac8edd0010d9655a105e72adf011
1 parent cf428bd commit 3a84d42

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,12 +1457,6 @@ public final class com/facebook/react/bridge/ReadableType : java/lang/Enum {
14571457
public static fun values ()[Lcom/facebook/react/bridge/ReadableType;
14581458
}
14591459

1460-
public final class com/facebook/react/bridge/RetryableMountingLayerException : java/lang/RuntimeException {
1461-
public fun <init> (Ljava/lang/String;)V
1462-
public fun <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
1463-
public fun <init> (Ljava/lang/Throwable;)V
1464-
}
1465-
14661460
public final class com/facebook/react/bridge/RuntimeExecutor : com/facebook/jni/HybridClassBase {
14671461
}
14681462

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/RetryableMountingLayerException.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ package com.facebook.react.bridge
1111
* ViewCommands can throw this Exception. If this is caught during the execution of a ViewCommand
1212
* mounting instruction, it indicates that the mount item can be safely retried.
1313
*/
14-
public class RetryableMountingLayerException : RuntimeException {
14+
internal class RetryableMountingLayerException : RuntimeException {
1515

16-
public constructor(msg: String) : super(msg)
16+
constructor(msg: String) : super(msg)
1717

18-
public constructor(e: Throwable) : super(e)
18+
constructor(e: Throwable) : super(e)
1919

20-
public constructor(msg: String, e: Throwable?) : super(msg, e)
20+
constructor(msg: String, e: Throwable?) : super(msg, e)
2121
}

0 commit comments

Comments
 (0)