SchedulerWhen$OnCompletedAction.smali
.class Lrx/internal/schedulers/SchedulerWhen$OnCompletedAction;
.super Ljava/lang/Object;
.source "SchedulerWhen.java"
# interfaces
.implements Lrx/functions/Action0;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lrx/internal/schedulers/SchedulerWhen;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "OnCompletedAction"
.end annotation
# instance fields
.field private action:Lrx/functions/Action0;
.field private actionCompletable:Lrx/CompletableSubscriber;
# direct methods
.method public constructor <init>(Lrx/functions/Action0;Lrx/CompletableSubscriber;)V
.registers 3
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lrx/internal/schedulers/SchedulerWhen$OnCompletedAction;->action:Lrx/functions/Action0;
.line 3
iput-object p2, p0, Lrx/internal/schedulers/SchedulerWhen$OnCompletedAction;->actionCompletable:Lrx/CompletableSubscriber;
return-void
.end method
# virtual methods
.method public call()V
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lrx/internal/schedulers/SchedulerWhen$OnCompletedAction;->action:Lrx/functions/Action0;
invoke-interface {v0}, Lrx/functions/Action0;->call()V
:try_end_5
.catchall {:try_start_0 .. :try_end_5} :catchall_b
.line 2
iget-object v0, p0, Lrx/internal/schedulers/SchedulerWhen$OnCompletedAction;->actionCompletable:Lrx/CompletableSubscriber;
invoke-interface {v0}, Lrx/CompletableSubscriber;->onCompleted()V
return-void
:catchall_b
move-exception v0
iget-object v1, p0, Lrx/internal/schedulers/SchedulerWhen$OnCompletedAction;->actionCompletable:Lrx/CompletableSubscriber;
invoke-interface {v1}, Lrx/CompletableSubscriber;->onCompleted()V
throw v0
.end method