public class ExceptionsManagerModule extends BaseJavaModule
BaseJavaModule.JavaMethod, BaseJavaModule.SyncJavaHook
NativeModule.NativeMethod, NativeModule.SyncNativeHook
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
ExceptionsManagerModule(DevSupportManager devSupportManager) |
Modifier and Type | Method and Description |
---|---|
void |
dismissRedbox() |
java.lang.String |
getName() |
void |
reportFatalException(java.lang.String title,
ReadableArray details,
int exceptionId) |
void |
reportSoftException(java.lang.String title,
ReadableArray details,
int exceptionId) |
void |
updateExceptionMessage(java.lang.String title,
ReadableArray details,
int exceptionId) |
canOverrideExistingModule, getConstants, getMethods, getSyncHooks, initialize, onCatalystInstanceDestroy, onReactBridgeInitialized, supportsWebWorkers, writeConstantsField
public ExceptionsManagerModule(DevSupportManager devSupportManager)
public java.lang.String getName()
require()
this module
from javascript.public void reportFatalException(java.lang.String title, ReadableArray details, int exceptionId)
public void reportSoftException(java.lang.String title, ReadableArray details, int exceptionId)
public void updateExceptionMessage(java.lang.String title, ReadableArray details, int exceptionId)
public void dismissRedbox()