2020-07-08 16:44:49 +00:00
|
|
|
.class public Lretrofit2/HttpException;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/RuntimeException;
|
|
|
|
.source "HttpException.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final code:I
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
.field public final transient d:Lp0/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-14 22:43:59 +00:00
|
|
|
"Lp0/n<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final message:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-14 22:43:59 +00:00
|
|
|
.method public constructor <init>(Lp0/n;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-07-14 22:43:59 +00:00
|
|
|
"Lp0/n<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"*>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "response == null"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p1, v0}, Lp0/r;->b(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v1, "HTTP "
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iget-object v1, p1, Lp0/n;->a:Lokhttp3/Response;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v1, v1, Lokhttp3/Response;->g:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iget-object v1, p1, Lp0/n;->a:Lokhttp3/Response;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/Response;->f:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iget-object v0, p1, Lp0/n;->a:Lokhttp3/Response;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v1, v0, Lokhttp3/Response;->g:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput v1, p0, Lretrofit2/HttpException;->code:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/Response;->f:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object v0, p0, Lretrofit2/HttpException;->message:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iput-object p1, p0, Lretrofit2/HttpException;->d:Lp0/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|