apkfuckery/com.discord/smali/b/h.smali

113 lines
2.5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Lb/h;
.super Ljava/lang/RuntimeException;
.source "HttpException.java"
# instance fields
.field public final code:I
.field private final message:Ljava/lang/String;
.field public final transient response:Lb/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/m<",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lb/m;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lb/m<",
"*>;)V"
}
.end annotation
const-string v0, "response == null"
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0}, Lb/p;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "HTTP "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-12-06 01:29:57 +00:00
iget-object v1, p1, Lb/m;->bHR:Lokhttp3/Response;
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
invoke-virtual {v1}, Lokhttp3/Response;->CK()I
2019-11-28 00:30:53 +00:00
move-result v1
2019-07-24 11:27:29 +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;
2019-12-06 01:29:57 +00:00
iget-object v1, p1, Lb/m;->bHR:Lokhttp3/Response;
2019-11-28 00:30:53 +00:00
2019-12-06 01:29:57 +00:00
invoke-virtual {v1}, Lokhttp3/Response;->Gu()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +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
2019-12-06 01:29:57 +00:00
iget-object v0, p1, Lb/m;->bHR:Lokhttp3/Response;
2019-11-28 00:30:53 +00:00
2019-12-06 01:29:57 +00:00
invoke-virtual {v0}, Lokhttp3/Response;->CK()I
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
iput v0, p0, Lb/h;->code:I
2019-12-06 01:29:57 +00:00
iget-object v0, p1, Lb/m;->bHR:Lokhttp3/Response;
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
invoke-virtual {v0}, Lokhttp3/Response;->Gu()Ljava/lang/String;
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
iput-object v0, p0, Lb/h;->message:Ljava/lang/String;
iput-object p1, p0, Lb/h;->response:Lb/m;
return-void
.end method
# virtual methods
2019-12-06 01:29:57 +00:00
.method public final CK()I
2019-07-24 11:27:29 +00:00
.locals 1
iget v0, p0, Lb/h;->code:I
return v0
.end method
2019-12-06 01:29:57 +00:00
.method public final Jv()Lb/m;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lb/m<",
"*>;"
}
.end annotation
iget-object v0, p0, Lb/h;->response:Lb/m;
return-object v0
.end method