.class public Lretrofit2/HttpException; .super Ljava/lang/RuntimeException; .source "HttpException.java" # instance fields .field private final code:I .field public final transient d:Lg0/z; .annotation system Ldalvik/annotation/Signature; value = { "Lg0/z<", "*>;" } .end annotation .end field .field private final message:Ljava/lang/String; # direct methods .method public constructor (Lg0/z;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lg0/z<", "*>;)V" } .end annotation const-string v0, "response == null" invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "HTTP " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p1, Lg0/z;->a:Lokhttp3/Response; iget v1, v1, Lokhttp3/Response;->g:I invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v1, " " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p1, Lg0/z;->a:Lokhttp3/Response; iget-object v1, v1, Lokhttp3/Response;->f:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p0, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;)V iget-object v0, p1, Lg0/z;->a:Lokhttp3/Response; iget v1, v0, Lokhttp3/Response;->g:I iput v1, p0, Lretrofit2/HttpException;->code:I iget-object v0, v0, Lokhttp3/Response;->f:Ljava/lang/String; iput-object v0, p0, Lretrofit2/HttpException;->message:Ljava/lang/String; iput-object p1, p0, Lretrofit2/HttpException;->d:Lg0/z; return-void .end method # virtual methods .method public a()I .locals 1 iget v0, p0, Lretrofit2/HttpException;->code:I return v0 .end method