what-the-bank/sources/okhttp3/internal/connection/RouteException.java

40 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package okhttp3.internal.connection;
import java.io.IOException;
import o.C14887gbC;
import o.C14957gcv;
/* loaded from: classes.dex */
public final class RouteException extends RuntimeException {
private final IOException firstConnectException;
private IOException lastConnectException;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RouteException(IOException iOException) {
super(iOException);
C14957gcv.e(iOException, "");
this.firstConnectException = iOException;
this.lastConnectException = iOException;
}
public final void addConnectException(IOException iOException) {
C14957gcv.e(iOException, "");
IOException iOException2 = this.firstConnectException;
IOException iOException3 = iOException;
C14957gcv.e(iOException2, "");
C14957gcv.e(iOException3, "");
if (iOException2 != iOException3) {
C14887gbC.c.d(iOException2, iOException3);
}
this.lastConnectException = iOException;
}
public final IOException getLastConnectException() {
return this.lastConnectException;
}
public final IOException getFirstConnectException() {
return this.firstConnectException;
}
}