discord-jadx/app/src/main/java/retrofit2/HttpException.java

25 lines
662 B
Java

package retrofit2;
import i0.x;
import java.util.Objects;
import okhttp3.Response;
public class HttpException extends RuntimeException {
private final int code;
public final transient x<?> i;
private final String message;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public HttpException(x<?> xVar) {
super("HTTP " + xVar.a.l + " " + xVar.a.k);
Objects.requireNonNull(xVar, "response == null");
Response response = xVar.a;
this.code = response.l;
this.message = response.k;
this.i = xVar;
}
public int a() {
return this.code;
}
}