public class ExceptionsManagerModule extends NativeExceptionsManagerSpec
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 |
reportException(ReadableMap data) |
void |
reportFatalException(java.lang.String message,
ReadableArray stack,
double idDouble) |
void |
reportSoftException(java.lang.String message,
ReadableArray stack,
double idDouble) |
void |
updateExceptionMessage(java.lang.String title,
ReadableArray details,
double exceptionIdDouble) |
getCurrentActivity, getReactApplicationContext, getReactApplicationContextIfActiveOrWarn
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invalidate
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 message, ReadableArray stack, double idDouble)
reportFatalException
in class NativeExceptionsManagerSpec
public void reportSoftException(java.lang.String message, ReadableArray stack, double idDouble)
reportSoftException
in class NativeExceptionsManagerSpec
public void reportException(ReadableMap data)
reportException
in class NativeExceptionsManagerSpec
public void updateExceptionMessage(java.lang.String title, ReadableArray details, double exceptionIdDouble)
updateExceptionMessage
in class NativeExceptionsManagerSpec
public void dismissRedbox()
dismissRedbox
in class NativeExceptionsManagerSpec