mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-29 01:03:22 +01:00
25 lines
826 B
Java
25 lines
826 B
Java
package org.apache.http.client;
|
|
|
|
import org.apache.http.util.TextUtils;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes11.dex */
|
|
public class HttpResponseException extends ClientProtocolException {
|
|
private static final long serialVersionUID = -7186627969477257933L;
|
|
private final String reasonPhrase;
|
|
private final int statusCode;
|
|
|
|
public HttpResponseException(int i, String str) {
|
|
super(String.format("status code: %d".concat(TextUtils.isBlank(str) ? "" : ", reason phrase: %s"), Integer.valueOf(i), str));
|
|
this.statusCode = i;
|
|
this.reasonPhrase = str;
|
|
}
|
|
|
|
public String getReasonPhrase() {
|
|
return this.reasonPhrase;
|
|
}
|
|
|
|
public int getStatusCode() {
|
|
return this.statusCode;
|
|
}
|
|
}
|