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

105 lines
2.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lb/h;
.super Ljava/lang/RuntimeException;
2019-02-04 20:29:01 +00:00
.source "HttpException.java"
2019-02-04 20:08:30 +00:00
# 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"
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "HTTP "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-04-11 23:08:29 +00:00
iget-object v1, p1, Lb/m;->bzJ:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget v1, v1, Lokhttp3/Response;->code:I
2019-02-04 20:08:30 +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-04-11 23:08:29 +00:00
iget-object v1, p1, Lb/m;->bzJ:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-object v1, v1, Lokhttp3/Response;->message:Ljava/lang/String;
2019-02-04 20:08:30 +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-04-11 23:08:29 +00:00
iget-object v0, p1, Lb/m;->bzJ:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget v0, v0, Lokhttp3/Response;->code:I
2019-02-04 20:08:30 +00:00
iput v0, p0, Lb/h;->code:I
2019-04-11 23:08:29 +00:00
iget-object v0, p1, Lb/m;->bzJ:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-object v0, v0, Lokhttp3/Response;->message:Ljava/lang/String;
2019-02-04 20:08:30 +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-03-22 22:04:12 +00:00
.method public final Db()Lb/m;
2019-02-04 20:08:30 +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
2019-02-04 20:32:01 +00:00
2019-03-22 22:04:12 +00:00
.method public final xA()I
2019-02-04 20:32:01 +00:00
.locals 1
iget v0, p0, Lb/h;->code:I
return v0
.end method