2020-03-27 22:23:51 +00:00
|
|
|
.class public Lg0/h;
|
2020-04-11 15:34:05 +00:00
|
|
|
.super Ljava/lang/RuntimeException;
|
|
|
|
.source "HttpException.java"
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final code:I
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
.field public final transient d:Lg0/o;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lg0/o<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final message:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-04-11 15:34:05 +00:00
|
|
|
.method public constructor <init>(Lg0/o;)V
|
|
|
|
.locals 2
|
2020-02-20 19:33:18 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-04-11 15:34:05 +00:00
|
|
|
"Lg0/o<",
|
|
|
|
"*>;)V"
|
2020-02-20 19:33:18 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
const-string v0, "response == null"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lg0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
iget-object v1, p1, Lg0/o;->a:Lokhttp3/Response;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lokhttp3/Response;->c()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
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/o;->a:Lokhttp3/Response;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lokhttp3/Response;->i()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
move-result-object v0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v0, p1, Lg0/o;->a:Lokhttp3/Response;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/Response;->c()I
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, p0, Lg0/h;->code:I
|
|
|
|
|
|
|
|
iget-object v0, p1, Lg0/o;->a:Lokhttp3/Response;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/Response;->i()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lg0/h;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lg0/h;->d:Lg0/o;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
2020-04-11 15:34:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public a()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lg0/h;->code:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public b()Lg0/o;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lg0/o<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lg0/h;->d:Lg0/o;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|