56 lines
1.6 KiB
Smali
56 lines
1.6 KiB
Smali
.class public final Lokhttp3/internal/connection/RouteException;
|
|
.super Ljava/lang/RuntimeException;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public firstException:Ljava/io/IOException;
|
|
|
|
.field public lastException:Ljava/io/IOException;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/io/IOException;)V
|
|
.locals 0
|
|
|
|
.line 31
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/connection/RouteException;->firstException:Ljava/io/IOException;
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/connection/RouteException;->lastException:Ljava/io/IOException;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addConnectException(Ljava/io/IOException;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RouteException;->firstException:Ljava/io/IOException;
|
|
|
|
.line 45
|
|
invoke-static {v0, p1}, Lokhttp3/internal/Util;->addSuppressedIfPossible(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/connection/RouteException;->lastException:Ljava/io/IOException;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getFirstConnectException()Ljava/io/IOException;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RouteException;->firstException:Ljava/io/IOException;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLastConnectException()Ljava/io/IOException;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RouteException;->lastException:Ljava/io/IOException;
|
|
|
|
return-object v0
|
|
.end method
|