.class public final Lio/reactivex/rxjava3/subscribers/d; .super Ljava/lang/Object; .source "SafeSubscriber.java" # interfaces .implements Lai/r; .implements Lok/e; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lai/r<", "TT;>;", "Lok/e;" } .end annotation # instance fields .field public final a:Lok/d; .annotation system Ldalvik/annotation/Signature; value = { "Lok/d<", "-TT;>;" } .end annotation .end field .field public b:Lok/e; .field public c:Z # direct methods .method public constructor (Lok/d;)V .locals 0 .param p1 # Lok/d; .annotation build Lio/reactivex/rxjava3/annotations/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "downstream" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "-TT;>;)V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; return-void .end method # virtual methods .method public a()V .locals 6 .line 1 new-instance v0, Ljava/lang/NullPointerException; const-string v1, "Subscription not set!" invoke-direct {v0, v1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V const/4 v1, 0x1 const/4 v2, 0x0 const/4 v3, 0x2 .line 2 :try_start_0 iget-object v4, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; sget-object v5, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->INSTANCE:Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription; invoke-interface {v4, v5}, Lok/d;->onSubscribe(Lok/e;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 .line 3 :try_start_1 iget-object v4, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; invoke-interface {v4, v0}, Lok/d;->onError(Ljava/lang/Throwable;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_0 :catchall_0 move-exception v4 .line 4 invoke-static {v4}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 5 new-instance v5, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v3, v3, [Ljava/lang/Throwable; aput-object v0, v3, v2 aput-object v4, v3, v1 invoke-direct {v5, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v5}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void :catchall_1 move-exception v4 .line 6 invoke-static {v4}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 7 new-instance v5, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v3, v3, [Ljava/lang/Throwable; aput-object v0, v3, v2 aput-object v4, v3, v1 invoke-direct {v5, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v5}, Lji/a;->Y(Ljava/lang/Throwable;)V return-void .end method .method public b()V .locals 6 const/4 v0, 0x1 .line 1 iput-boolean v0, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z .line 2 new-instance v1, Ljava/lang/NullPointerException; const-string v2, "Subscription not set!" invoke-direct {v1, v2}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V const/4 v2, 0x0 const/4 v3, 0x2 .line 3 :try_start_0 iget-object v4, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; sget-object v5, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->INSTANCE:Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription; invoke-interface {v4, v5}, Lok/d;->onSubscribe(Lok/e;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 .line 4 :try_start_1 iget-object v4, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; invoke-interface {v4, v1}, Lok/d;->onError(Ljava/lang/Throwable;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_0 :catchall_0 move-exception v4 .line 5 invoke-static {v4}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 6 new-instance v5, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v3, v3, [Ljava/lang/Throwable; aput-object v1, v3, v2 aput-object v4, v3, v0 invoke-direct {v5, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v5}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void :catchall_1 move-exception v4 .line 7 invoke-static {v4}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 8 new-instance v5, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v3, v3, [Ljava/lang/Throwable; aput-object v1, v3, v2 aput-object v4, v3, v0 invoke-direct {v5, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v5}, Lji/a;->Y(Ljava/lang/Throwable;)V return-void .end method .method public cancel()V .locals 1 .line 1 :try_start_0 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; invoke-interface {v0}, Lok/e;->cancel()V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception v0 .line 2 invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 3 invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void .end method .method public onComplete()V .locals 1 .line 1 iget-boolean v0, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z if-eqz v0, :cond_0 return-void :cond_0 const/4 v0, 0x1 .line 2 iput-boolean v0, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z .line 3 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; if-nez v0, :cond_1 .line 4 invoke-virtual {p0}, Lio/reactivex/rxjava3/subscribers/d;->a()V return-void .line 5 :cond_1 :try_start_0 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; invoke-interface {v0}, Lok/d;->onComplete()V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception v0 .line 6 invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 7 invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 8 .param p1 # Ljava/lang/Throwable; .annotation build Lio/reactivex/rxjava3/annotations/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "t" } .end annotation .line 1 iget-boolean v0, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z if-eqz v0, :cond_0 .line 2 invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V return-void :cond_0 const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z .line 4 iget-object v1, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; const/4 v2, 0x0 const/4 v3, 0x2 if-nez v1, :cond_1 .line 5 new-instance v1, Ljava/lang/NullPointerException; const-string v4, "Subscription not set!" invoke-direct {v1, v4}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V const/4 v4, 0x3 .line 6 :try_start_0 iget-object v5, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; sget-object v6, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->INSTANCE:Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription; invoke-interface {v5, v6}, Lok/d;->onSubscribe(Lok/e;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 .line 7 :try_start_1 iget-object v5, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; new-instance v6, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v7, v3, [Ljava/lang/Throwable; aput-object p1, v7, v2 aput-object v1, v7, v0 invoke-direct {v6, v7}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-interface {v5, v6}, Lok/d;->onError(Ljava/lang/Throwable;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_0 :catchall_0 move-exception v5 .line 8 invoke-static {v5}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 9 new-instance v6, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v4, v4, [Ljava/lang/Throwable; aput-object p1, v4, v2 aput-object v1, v4, v0 aput-object v5, v4, v3 invoke-direct {v6, v4}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v6}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void :catchall_1 move-exception v5 .line 10 invoke-static {v5}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 11 new-instance v6, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v4, v4, [Ljava/lang/Throwable; aput-object p1, v4, v2 aput-object v1, v4, v0 aput-object v5, v4, v3 invoke-direct {v6, v4}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v6}, Lji/a;->Y(Ljava/lang/Throwable;)V return-void :cond_1 if-nez p1, :cond_2 const-string p1, "onError called with a null Throwable." .line 12 invoke-static {p1}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->b(Ljava/lang/String;)Ljava/lang/NullPointerException; move-result-object p1 .line 13 :cond_2 :try_start_2 iget-object v1, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; invoke-interface {v1, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_2 goto :goto_1 :catchall_2 move-exception v1 .line 14 invoke-static {v1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 15 new-instance v4, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v3, v3, [Ljava/lang/Throwable; aput-object p1, v3, v2 aput-object v1, v3, v0 invoke-direct {v4, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v4}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_1 return-void .end method .method public onNext(Ljava/lang/Object;)V .locals 5 .param p1 # Ljava/lang/Object; .annotation build Lio/reactivex/rxjava3/annotations/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "t" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 iget-boolean v0, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z if-eqz v0, :cond_0 return-void .line 2 :cond_0 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; if-nez v0, :cond_1 .line 3 invoke-virtual {p0}, Lio/reactivex/rxjava3/subscribers/d;->b()V return-void :cond_1 const/4 v0, 0x1 const/4 v1, 0x0 const/4 v2, 0x2 if-nez p1, :cond_2 const-string p1, "onNext called with a null Throwable." .line 4 invoke-static {p1}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->b(Ljava/lang/String;)Ljava/lang/NullPointerException; move-result-object p1 .line 5 :try_start_0 iget-object v3, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; invoke-interface {v3}, Lok/e;->cancel()V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 6 invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/subscribers/d;->onError(Ljava/lang/Throwable;)V return-void :catchall_0 move-exception v3 .line 7 invoke-static {v3}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 8 new-instance v4, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v2, v2, [Ljava/lang/Throwable; aput-object p1, v2, v1 aput-object v3, v2, v0 invoke-direct {v4, v2}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-virtual {p0, v4}, Lio/reactivex/rxjava3/subscribers/d;->onError(Ljava/lang/Throwable;)V return-void .line 9 :cond_2 :try_start_1 iget-object v3, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; invoke-interface {v3, p1}, Lok/d;->onNext(Ljava/lang/Object;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_1 goto :goto_0 :catchall_1 move-exception p1 .line 10 invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 11 :try_start_2 iget-object v3, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; invoke-interface {v3}, Lok/e;->cancel()V :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_2 .line 12 invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/subscribers/d;->onError(Ljava/lang/Throwable;)V :goto_0 return-void :catchall_2 move-exception v3 .line 13 invoke-static {v3}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 14 new-instance v4, Lio/reactivex/rxjava3/exceptions/CompositeException; new-array v2, v2, [Ljava/lang/Throwable; aput-object p1, v2, v1 aput-object v3, v2, v0 invoke-direct {v4, v2}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-virtual {p0, v4}, Lio/reactivex/rxjava3/subscribers/d;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onSubscribe(Lok/e;)V .locals 5 .param p1 # Lok/e; .annotation build Lio/reactivex/rxjava3/annotations/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "s" } .end annotation .line 1 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z move-result v0 if-eqz v0, :cond_0 .line 2 iput-object p1, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; .line 3 :try_start_0 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->a:Lok/d; invoke-interface {v0, p0}, Lok/d;->onSubscribe(Lok/e;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception v0 .line 4 invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V const/4 v1, 0x1 .line 5 iput-boolean v1, p0, Lio/reactivex/rxjava3/subscribers/d;->c:Z .line 6 :try_start_1 invoke-interface {p1}, Lok/e;->cancel()V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_1 .line 7 invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V goto :goto_0 :catchall_1 move-exception p1 .line 8 invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 9 new-instance v2, Lio/reactivex/rxjava3/exceptions/CompositeException; const/4 v3, 0x2 new-array v3, v3, [Ljava/lang/Throwable; const/4 v4, 0x0 aput-object v0, v3, v4 aput-object p1, v3, v1 invoke-direct {v2, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v2}, Lji/a;->Y(Ljava/lang/Throwable;)V :cond_0 :goto_0 return-void .end method .method public request(J)V .locals 3 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "n" } .end annotation .line 1 :try_start_0 iget-object v0, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; invoke-interface {v0, p1, p2}, Lok/e;->request(J)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception p1 .line 2 invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 3 :try_start_1 iget-object p2, p0, Lio/reactivex/rxjava3/subscribers/d;->b:Lok/e; invoke-interface {p2}, Lok/e;->cancel()V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_1 .line 4 invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void :catchall_1 move-exception p2 .line 5 invoke-static {p2}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 6 new-instance v0, Lio/reactivex/rxjava3/exceptions/CompositeException; const/4 v1, 0x2 new-array v1, v1, [Ljava/lang/Throwable; const/4 v2, 0x0 aput-object p1, v1, v2 const/4 p1, 0x1 aput-object p2, v1, p1 invoke-direct {v0, v1}, Lio/reactivex/rxjava3/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V return-void .end method