ExceptionCatchingTypedInput.smali 
.class Lretrofit/ExceptionCatchingTypedInput;
.super Ljava/lang/Object;
.source "ExceptionCatchingTypedInput.java"
# interfaces
.implements Lretrofit/mime/TypedInput;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
    }
.end annotation
# instance fields
.field private final delegate:Lretrofit/mime/TypedInput;
.field private final delegateStream:Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
# direct methods
.method constructor <init>(Lretrofit/mime/TypedInput;)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation
    .line 11
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
    .line 12
    iput-object p1, p0, Lretrofit/ExceptionCatchingTypedInput;->delegate:Lretrofit/mime/TypedInput;
    .line 13
    new-instance v0, Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
    invoke-interface {p1}, Lretrofit/mime/TypedInput;->in()Ljava/io/InputStream;
    move-result-object p1
    invoke-direct {v0, p1}, Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;-><init>(Ljava/io/InputStream;)V
    iput-object v0, p0, Lretrofit/ExceptionCatchingTypedInput;->delegateStream:Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
    return-void
.end method
# virtual methods
.method getThrownException()Ljava/io/IOException;
    .registers 2
    .line 29
    iget-object v0, p0, Lretrofit/ExceptionCatchingTypedInput;->delegateStream:Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
    # getter for: Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;->thrownException:Ljava/io/IOException;
    invoke-static {v0}, Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;->access$000(Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;)Ljava/io/IOException;
    move-result-object v0
    return-object v0
.end method
.method public in()Ljava/io/InputStream;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation
    .line 25
    iget-object v0, p0, Lretrofit/ExceptionCatchingTypedInput;->delegateStream:Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
    return-object v0
.end method
.method public length()J
    .registers 3
    .line 21
    iget-object v0, p0, Lretrofit/ExceptionCatchingTypedInput;->delegate:Lretrofit/mime/TypedInput;
    invoke-interface {v0}, Lretrofit/mime/TypedInput;->length()J
    move-result-wide v0
    return-wide v0
.end method
.method public mimeType()Ljava/lang/String;
    .registers 2
    .line 17
    iget-object v0, p0, Lretrofit/ExceptionCatchingTypedInput;->delegate:Lretrofit/mime/TypedInput;
    invoke-interface {v0}, Lretrofit/mime/TypedInput;->mimeType()Ljava/lang/String;
    move-result-object v0
    return-object v0
.end method
.method threwException()Z
    .registers 2
    .line 33
    iget-object v0, p0, Lretrofit/ExceptionCatchingTypedInput;->delegateStream:Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;
    # getter for: Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;->thrownException:Ljava/io/IOException;
    invoke-static {v0}, Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;->access$000(Lretrofit/ExceptionCatchingTypedInput$ExceptionCatchingInputStream;)Ljava/io/IOException;
    move-result-object v0
    if-eqz v0, :cond_a
    const/4 v0, 0x1
    goto :goto_b
    :cond_a
    const/4 v0, 0x0
    :goto_b
    return v0
.end method