r$3.smali

.class final Lcom/google/common/util/concurrent/r$3;
.super Ljava/lang/Object;
.source "Futures.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/google/common/util/concurrent/r;
.end annotation


# instance fields
.field private synthetic aYJ:Lcom/google/common/util/concurrent/y;

.field private synthetic aYK:Lcom/google/common/util/concurrent/q;


# direct methods
.method constructor <init>(Lcom/google/common/util/concurrent/y;Lcom/google/common/util/concurrent/q;)V
    .registers 3

    .prologue
    .line 1301
    iput-object p1, p0, Lcom/google/common/util/concurrent/r$3;->aYJ:Lcom/google/common/util/concurrent/y;

    iput-object p2, p0, Lcom/google/common/util/concurrent/r$3;->aYK:Lcom/google/common/util/concurrent/q;

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 3

    .prologue
    .line 1308
    :try_start_0
    iget-object v0, p0, Lcom/google/common/util/concurrent/r$3;->aYJ:Lcom/google/common/util/concurrent/y;

    invoke-static {v0}, Lcom/google/common/util/concurrent/aq;->b(Ljava/util/concurrent/Future;)Ljava/lang/Object;
    :try_end_5
    .catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_5} :catch_c
    .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_5} :catch_17
    .catch Ljava/lang/Error; {:try_start_0 .. :try_end_5} :catch_1e

    move-result-object v0

    .line 1319
    iget-object v1, p0, Lcom/google/common/util/concurrent/r$3;->aYK:Lcom/google/common/util/concurrent/q;

    invoke-interface {v1, v0}, Lcom/google/common/util/concurrent/q;->onSuccess(Ljava/lang/Object;)V

    .line 1320
    :goto_b
    return-void

    .line 1309
    :catch_c
    move-exception v0

    .line 1310
    iget-object v1, p0, Lcom/google/common/util/concurrent/r$3;->aYK:Lcom/google/common/util/concurrent/q;

    invoke-virtual {v0}, Ljava/util/concurrent/ExecutionException;->getCause()Ljava/lang/Throwable;

    move-result-object v0

    invoke-interface {v1, v0}, Lcom/google/common/util/concurrent/q;->onFailure(Ljava/lang/Throwable;)V

    goto :goto_b

    .line 1312
    :catch_17
    move-exception v0

    .line 1313
    iget-object v1, p0, Lcom/google/common/util/concurrent/r$3;->aYK:Lcom/google/common/util/concurrent/q;

    invoke-interface {v1, v0}, Lcom/google/common/util/concurrent/q;->onFailure(Ljava/lang/Throwable;)V

    goto :goto_b

    .line 1315
    :catch_1e
    move-exception v0

    .line 1316
    iget-object v1, p0, Lcom/google/common/util/concurrent/r$3;->aYK:Lcom/google/common/util/concurrent/q;

    invoke-interface {v1, v0}, Lcom/google/common/util/concurrent/q;->onFailure(Ljava/lang/Throwable;)V

    goto :goto_b
.end method