mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D34060026 fbshipit-source-id: 41441c0b16c4ef0248957eae11d9c9bc642f6d34
28 lines
838 B
Java
28 lines
838 B
Java
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
package com.facebook.react.bridge;
|
|
|
|
/**
|
|
* Extends RuntimeException so that it may be caught by a {@link ReactSoftExceptionListener}. Any
|
|
* {@link ReactSoftExceptionListener} that catches a ReactNoCrashBridgeNotAllowedSoftException
|
|
* should log it only and not crash, no matter what.
|
|
*/
|
|
public class ReactNoCrashBridgeNotAllowedSoftException extends ReactNoCrashSoftException {
|
|
public ReactNoCrashBridgeNotAllowedSoftException(String m) {
|
|
super(m);
|
|
}
|
|
|
|
public ReactNoCrashBridgeNotAllowedSoftException(Throwable e) {
|
|
super(e);
|
|
}
|
|
|
|
public ReactNoCrashBridgeNotAllowedSoftException(String m, Throwable e) {
|
|
super(m, e);
|
|
}
|
|
}
|