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

24 lines
690 B
Java

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