e$2.smali

.class final Lsg/bigo/b/b/e$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Thread$UncaughtExceptionHandler;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigo/b/b/e;->a(Landroid/app/Application;Lsg/bigo/a/b/b$a;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Lsg/bigo/a/b/b$a;

.field final synthetic b:Ljava/lang/Thread$UncaughtExceptionHandler;


# direct methods
.method constructor <init>(Lsg/bigo/a/b/b$a;Ljava/lang/Thread$UncaughtExceptionHandler;)V
    .registers 3

    .line 77
    iput-object p1, p0, Lsg/bigo/b/b/e$2;->a:Lsg/bigo/a/b/b$a;

    iput-object p2, p0, Lsg/bigo/b/b/e$2;->b:Ljava/lang/Thread$UncaughtExceptionHandler;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
    .registers 5

    .line 82
    :try_start_0
    sget-boolean v0, Lsg/bigo/a/b/c;->j:Z

    if-eqz v0, :cond_9

    .line 83
    iget-object v0, p0, Lsg/bigo/b/b/e$2;->a:Lsg/bigo/a/b/b$a;

    invoke-static {p1, p2, v0}, Lsg/bigo/b/b/e;->a(Ljava/lang/Thread;Ljava/lang/Throwable;Lsg/bigo/a/b/b$a;)V
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_9} :catch_13
    .catchall {:try_start_0 .. :try_end_9} :catchall_11

    .line 88
    :cond_9
    iget-object v0, p0, Lsg/bigo/b/b/e$2;->b:Ljava/lang/Thread$UncaughtExceptionHandler;

    if-eqz v0, :cond_26

    .line 89
    invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

    return-void

    :catchall_11
    move-exception v0

    goto :goto_27

    :catch_13
    move-exception v0

    .line 86
    :try_start_14
    invoke-static {}, Lsg/bigo/b/b/e;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lsg/bigo/log/TraceLog;->e(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_1f
    .catchall {:try_start_14 .. :try_end_1f} :catchall_11

    .line 88
    iget-object v0, p0, Lsg/bigo/b/b/e$2;->b:Ljava/lang/Thread$UncaughtExceptionHandler;

    if-eqz v0, :cond_26

    .line 89
    invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

    :cond_26
    return-void

    .line 88
    :goto_27
    iget-object v1, p0, Lsg/bigo/b/b/e$2;->b:Ljava/lang/Thread$UncaughtExceptionHandler;

    if-eqz v1, :cond_2e

    .line 89
    invoke-interface {v1, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

    :cond_2e
    throw v0
.end method