114 lines
2.6 KiB
Smali
114 lines
2.6 KiB
Smali
.class public La0/h;
|
|
.super Ljava/lang/RuntimeException;
|
|
.source "HttpException.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final code:I
|
|
|
|
.field public final transient d:La0/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"La0/o<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final message:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(La0/o;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"La0/o<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "response == null"
|
|
|
|
invoke-static {p1, v0}, La0/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, La0/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, La0/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;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v0, p1, La0/o;->a:Lokhttp3/Response;
|
|
|
|
invoke-virtual {v0}, Lokhttp3/Response;->c()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, La0/h;->code:I
|
|
|
|
iget-object v0, p1, La0/o;->a:Lokhttp3/Response;
|
|
|
|
invoke-virtual {v0}, Lokhttp3/Response;->i()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, La0/h;->message:Ljava/lang/String;
|
|
|
|
iput-object p1, p0, La0/h;->d:La0/o;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 1
|
|
|
|
iget v0, p0, La0/h;->code:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public b()La0/o;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"La0/o<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, La0/h;->d:La0/o;
|
|
|
|
return-object v0
|
|
.end method
|