- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
30 lines
814 B
Java
30 lines
814 B
Java
package okhttp3.internal.connection;
|
|
|
|
import java.io.IOException;
|
|
import okhttp3.internal.Util;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class RouteException extends RuntimeException {
|
|
public IOException firstException;
|
|
public IOException lastException;
|
|
|
|
public IOException getFirstConnectException() {
|
|
return this.firstException;
|
|
}
|
|
|
|
public IOException getLastConnectException() {
|
|
return this.lastException;
|
|
}
|
|
|
|
public RouteException(IOException iOException) {
|
|
super(iOException);
|
|
this.firstException = iOException;
|
|
this.lastException = iOException;
|
|
}
|
|
|
|
public void addConnectException(IOException iOException) {
|
|
Util.addSuppressedIfPossible(this.firstException, iOException);
|
|
this.lastException = iOException;
|
|
}
|
|
}
|