DefaultNativeModuleCallExceptionHandler.smali
.class public Lcom/facebook/react/bridge/DefaultNativeModuleCallExceptionHandler;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/react/bridge/NativeModuleCallExceptionHandler;
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public handleException(Ljava/lang/Exception;)V
.registers 3
.line 1
instance-of v0, p1, Ljava/lang/RuntimeException;
if-eqz v0, :cond_7
.line 2
check-cast p1, Ljava/lang/RuntimeException;
throw p1
.line 3
:cond_7
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
.end method