104 lines
2.4 KiB
Smali
104 lines
2.4 KiB
Smali
.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"
|
|
|
|
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
|
|
|
|
iget-object v1, p1, Lb/m;->bFz:Lokhttp3/Response;
|
|
|
|
iget v1, v1, Lokhttp3/Response;->code:I
|
|
|
|
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, Lb/m;->bFz:Lokhttp3/Response;
|
|
|
|
iget-object v1, v1, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
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, Lb/m;->bFz:Lokhttp3/Response;
|
|
|
|
iget v0, v0, Lokhttp3/Response;->code:I
|
|
|
|
iput v0, p0, Lb/h;->code:I
|
|
|
|
iget-object v0, p1, Lb/m;->bFz:Lokhttp3/Response;
|
|
|
|
iget-object v0, v0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
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
|
|
.method public final Dx()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lb/h;->code:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final Jn()Lb/m;
|
|
.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
|