public class ExceptionsManagerModule extends BaseJavaModule
NativeModule.NativeMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
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, hasConstants, initialize, onCatalystInstanceDestroy
public static final java.lang.String NAME
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()