z.smali

.class final Lrx/internal/operators/z;
.super Lrx/n;
.source "SingleDoOnEvent.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Lrx/n",
        "<TT;>;"
    }
.end annotation


# instance fields
.field private cbo:Lrx/b/b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/b/b",
            "<-TT;>;"
        }
    .end annotation
.end field

.field private cbp:Lrx/b/b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/b/b",
            "<",
            "Ljava/lang/Throwable;",
            ">;"
        }
    .end annotation
.end field

.field private cbq:Lrx/n;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/n",
            "<-TT;>;"
        }
    .end annotation
.end field


# direct methods
.method constructor <init>(Lrx/n;Lrx/b/b;Lrx/b/b;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lrx/n",
            "<-TT;>;",
            "Lrx/b/b",
            "<-TT;>;",
            "Lrx/b/b",
            "<",
            "Ljava/lang/Throwable;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 48
    invoke-direct {p0}, Lrx/n;-><init>()V

    .line 49
    iput-object p1, p0, Lrx/internal/operators/z;->cbq:Lrx/n;

    .line 50
    iput-object p2, p0, Lrx/internal/operators/z;->cbo:Lrx/b/b;

    .line 51
    iput-object p3, p0, Lrx/internal/operators/z;->cbp:Lrx/b/b;

    .line 52
    return-void
.end method


# virtual methods
.method public final onError(Ljava/lang/Throwable;)V
    .registers 7

    .prologue
    .line 69
    :try_start_0
    iget-object v0, p0, Lrx/internal/operators/z;->cbp:Lrx/b/b;

    invoke-interface {v0, p1}, Lrx/b/b;->call(Ljava/lang/Object;)V
    :try_end_5
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_5} :catch_b

    .line 76
    iget-object v0, p0, Lrx/internal/operators/z;->cbq:Lrx/n;

    invoke-virtual {v0, p1}, Lrx/n;->onError(Ljava/lang/Throwable;)V

    .line 77
    :goto_a
    return-void

    .line 70
    :catch_b
    move-exception v0

    .line 71
    invoke-static {v0}, Lrx/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V

    .line 72
    iget-object v1, p0, Lrx/internal/operators/z;->cbq:Lrx/n;

    new-instance v2, Lrx/exceptions/CompositeException;

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Throwable;

    const/4 v4, 0x0

    aput-object p1, v3, v4

    const/4 v4, 0x1

    aput-object v0, v3, v4

    invoke-direct {v2, v3}, Lrx/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V

    invoke-virtual {v1, v2}, Lrx/n;->onError(Ljava/lang/Throwable;)V

    goto :goto_a
.end method

.method public final onSuccess(Ljava/lang/Object;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 57
    :try_start_0
    iget-object v0, p0, Lrx/internal/operators/z;->cbo:Lrx/b/b;

    invoke-interface {v0, p1}, Lrx/b/b;->call(Ljava/lang/Object;)V
    :try_end_5
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_5} :catch_b

    .line 63
    iget-object v0, p0, Lrx/internal/operators/z;->cbq:Lrx/n;

    invoke-virtual {v0, p1}, Lrx/n;->onSuccess(Ljava/lang/Object;)V

    .line 64
    :goto_a
    return-void

    .line 59
    :catch_b
    move-exception v0

    .line 1203
    invoke-static {v0}, Lrx/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V

    .line 1204
    invoke-static {v0, p1}, Lrx/exceptions/OnErrorThrowable;->addValueAsLastCause(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;

    move-result-object v0

    invoke-virtual {p0, v0}, Lrx/n;->onError(Ljava/lang/Throwable;)V

    goto :goto_a
.end method