.class final Lretrofit2/adapter/rxjava2/CallExecuteObservable; .super Lkh/z; .source "CallExecuteObservable.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lkh/z<", "Lretrofit2/Response<", "TT;>;>;" } .end annotation # instance fields .field private final originalCall:Lretrofit2/Call; .annotation system Ldalvik/annotation/Signature; value = { "Lretrofit2/Call<", "TT;>;" } .end annotation .end field # direct methods .method public constructor (Lretrofit2/Call;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lretrofit2/Call<", "TT;>;)V" } .end annotation .line 1 invoke-direct {p0}, Lkh/z;->()V .line 2 iput-object p1, p0, Lretrofit2/adapter/rxjava2/CallExecuteObservable;->originalCall:Lretrofit2/Call; return-void .end method # virtual methods .method public subscribeActual(Lkh/g0;)V .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkh/g0<", "-", "Lretrofit2/Response<", "TT;>;>;)V" } .end annotation .line 1 iget-object v0, p0, Lretrofit2/adapter/rxjava2/CallExecuteObservable;->originalCall:Lretrofit2/Call; invoke-interface {v0}, Lretrofit2/Call;->clone()Lretrofit2/Call; move-result-object v0 .line 2 new-instance v1, Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable; invoke-direct {v1, v0}, Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable;->(Lretrofit2/Call;)V .line 3 invoke-interface {p1, v1}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V .line 4 invoke-virtual {v1}, Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable;->isDisposed()Z move-result v2 if-eqz v2, :cond_0 return-void :cond_0 const/4 v2, 0x1 const/4 v3, 0x0 .line 5 :try_start_0 invoke-interface {v0}, Lretrofit2/Call;->execute()Lretrofit2/Response; move-result-object v0 .line 6 invoke-virtual {v1}, Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable;->isDisposed()Z move-result v4 if-nez v4, :cond_1 .line 7 invoke-interface {p1, v0}, Lkh/g0;->onNext(Ljava/lang/Object;)V .line 8 :cond_1 invoke-virtual {v1}, Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable;->isDisposed()Z move-result v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 if-nez v0, :cond_3 .line 9 :try_start_1 invoke-interface {p1}, Lkh/g0;->onComplete()V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_1 :catchall_0 move-exception v0 move v4, v2 goto :goto_0 :catchall_1 move-exception v0 move v4, v3 .line 10 :goto_0 invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V if-eqz v4, :cond_2 .line 11 invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V goto :goto_1 .line 12 :cond_2 invoke-virtual {v1}, Lretrofit2/adapter/rxjava2/CallExecuteObservable$CallDisposable;->isDisposed()Z move-result v1 if-nez v1, :cond_3 .line 13 :try_start_2 invoke-interface {p1, v0}, Lkh/g0;->onError(Ljava/lang/Throwable;)V :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_2 goto :goto_1 :catchall_2 move-exception p1 .line 14 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 15 new-instance v1, Lio/reactivex/exceptions/CompositeException; const/4 v4, 0x2 new-array v4, v4, [Ljava/lang/Throwable; aput-object v0, v4, v3 aput-object p1, v4, v2 invoke-direct {v1, v4}, Lio/reactivex/exceptions/CompositeException;->([Ljava/lang/Throwable;)V invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V :cond_3 :goto_1 return-void .end method