k.smali
.class final Lcom/squareup/okhttp/internal/framed/k;
.super Lokio/a;
.source "FramedStream.java"
# instance fields
.field private synthetic byJ:Lcom/squareup/okhttp/internal/framed/h;
# direct methods
.method constructor <init>(Lcom/squareup/okhttp/internal/framed/h;)V
.registers 2
.prologue
.line 599
iput-object p1, p0, Lcom/squareup/okhttp/internal/framed/k;->byJ:Lcom/squareup/okhttp/internal/framed/h;
invoke-direct {p0}, Lokio/a;-><init>()V
return-void
.end method
# virtual methods
.method protected final Hx()V
.registers 3
.prologue
.line 601
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/k;->byJ:Lcom/squareup/okhttp/internal/framed/h;
sget-object v1, Lcom/squareup/okhttp/internal/framed/ErrorCode;->CANCEL:Lcom/squareup/okhttp/internal/framed/ErrorCode;
invoke-virtual {v0, v1}, Lcom/squareup/okhttp/internal/framed/h;->b(Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
.line 602
return-void
.end method
.method public final Hy()V
.registers 2
.prologue
.line 613
invoke-virtual {p0}, Lcom/squareup/okhttp/internal/framed/k;->Se()Z
move-result v0
if-eqz v0, :cond_c
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/squareup/okhttp/internal/framed/k;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
.line 614
:cond_c
return-void
.end method
.method protected final a(Ljava/io/IOException;)Ljava/io/IOException;
.registers 4
.prologue
.line 605
new-instance v0, Ljava/net/SocketTimeoutException;
const-string v1, "timeout"
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
.line 606
if-eqz p1, :cond_c
.line 607
invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
.line 609
:cond_c
return-object v0
.end method