Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ReactIgnorableMountingException internal #50504

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -1129,18 +1129,6 @@ public final class com/facebook/react/bridge/ReactCxxErrorHandler {
public static final fun setHandleErrorFunc (Ljava/lang/Object;Ljava/lang/reflect/Method;)V
}

public final class com/facebook/react/bridge/ReactIgnorableMountingException : java/lang/RuntimeException {
public static final field Companion Lcom/facebook/react/bridge/ReactIgnorableMountingException$Companion;
public fun <init> (Ljava/lang/String;)V
public fun <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
public fun <init> (Ljava/lang/Throwable;)V
public static final fun isIgnorable (Ljava/lang/Throwable;)Z
}

public final class com/facebook/react/bridge/ReactIgnorableMountingException$Companion {
public final fun isIgnorable (Ljava/lang/Throwable;)Z
}

public class com/facebook/react/bridge/ReactInstanceManagerInspectorTarget : java/lang/AutoCloseable {
public fun <init> (Lcom/facebook/react/bridge/ReactInstanceManagerInspectorTarget$TargetDelegate;)V
public fun close ()V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ package com.facebook.react.bridge
* If thrown during a MountItem execution, FabricUIManager will print diagnostics and ignore the
* error. Use this carefully and sparingly!
*/
public class ReactIgnorableMountingException : RuntimeException {
internal class ReactIgnorableMountingException : RuntimeException {

public constructor(m: String) : super(m)
constructor(m: String) : super(m)

public constructor(e: Throwable) : super(e)
constructor(e: Throwable) : super(e)

public constructor(m: String, e: Throwable) : super(m, e)
constructor(m: String, e: Throwable) : super(m, e)

public companion object {
companion object {
@JvmStatic
public fun isIgnorable(e: Throwable): Boolean {
fun isIgnorable(e: Throwable): Boolean {
var cause: Throwable? = e
while (cause != null) {
if (cause is ReactIgnorableMountingException) {
Expand Down
Loading