-
- All Implemented Interfaces:
-
java.lang.Runnable
public abstract class GuardedRunnable implements Runnable
Abstract base for a Runnable that should have any RuntimeExceptions it throws handled by the com.facebook.react.bridge.NativeModuleCallExceptionHandler registered if the app is in dev mode.
-
-
Constructor Summary
Constructors Constructor Description GuardedRunnable(ReactContext reactContext)
GuardedRunnable(NativeModuleCallExceptionHandler exceptionHandler)
-
Method Summary
Modifier and Type Method Description final void
run()
abstract void
runGuarded()
-
-
Constructor Detail
-
GuardedRunnable
GuardedRunnable(ReactContext reactContext)
-
GuardedRunnable
GuardedRunnable(NativeModuleCallExceptionHandler exceptionHandler)
-
-
Method Detail
-
run
final void run()
-
runGuarded
abstract void runGuarded()
-
-
-
-