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

24 lines
690 B
Java
Raw Normal View History

2021-07-24 02:37:17 +00:00
package retrofit2;
import java.util.Objects;
import okhttp3.Response;
public class HttpException extends RuntimeException {
private final int code;
2021-07-27 00:35:07 +00:00
public final transient Response<?> i;
2021-07-24 02:37:17 +00:00
private final String message;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
2021-07-27 00:35:07 +00:00
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;
2021-07-24 02:37:17 +00:00
}
public int a() {
return this.code;
}
}