正在查看: Moneyman v2.316.0.0 应用的 NoTransformationFoundException.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Moneyman v2.316.0.0 应用的 NoTransformationFoundException.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package io.ktor.client.call;
import Eh.r;
import com.singular.sdk.BuildConfig;
import com.singular.sdk.internal.Constants;
import io.ktor.client.statement.HttpResponse;
import io.ktor.client.statement.HttpResponseKt;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.i;
import nf.o;
import nf.s;
import rg.InterfaceC1724d;
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0006\u0018\u00002\u00060\u0001j\u0002`\u0002B'\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\n\u0010\u0006\u001a\u0006\u0012\u0002\b\u00030\u0005\u0012\n\u0010\u0007\u001a\u0006\u0012\u0002\b\u00030\u0005¢\u0006\u0004\b\b\u0010\tR\u001c\u0010\u000f\u001a\u0004\u0018\u00010\n8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000e¨\u0006\u0010"}, d2 = {"Lio/ktor/client/call/NoTransformationFoundException;", "Ljava/lang/UnsupportedOperationException;", "Lkotlin/UnsupportedOperationException;", "Lio/ktor/client/statement/HttpResponse;", "response", "Lrg/d;", "from", "to", "<init>", "(Lio/ktor/client/statement/HttpResponse;Lrg/d;Lrg/d;)V", BuildConfig.FLAVOR, Constants.RequestParamsKeys.DEVELOPER_API_KEY, "Ljava/lang/String;", "getMessage", "()Ljava/lang/String;", "message", "ktor-client-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class NoTransformationFoundException extends UnsupportedOperationException {
public final String message;
public NoTransformationFoundException(HttpResponse response, InterfaceC1724d from, InterfaceC1724d to2) {
i.g(response, "response");
i.g(from, "from");
i.g(to2, "to");
StringBuilder sb2 = new StringBuilder("\n Expected response body of the type '");
sb2.append(to2);
sb2.append("' but was '");
sb2.append(from);
sb2.append("'\n In response from `");
sb2.append(HttpResponseKt.getRequest(response).getUrl());
sb2.append("`\n Response status `");
sb2.append(response.getStatus());
sb2.append("`\n Response header `ContentType: ");
o headers = response.getHeaders();
List list = s.a;
sb2.append(headers.get("Content-Type"));
sb2.append("` \n Request header `Accept: ");
sb2.append(HttpResponseKt.getRequest(response).getHeaders().get("Accept"));
sb2.append("`\n \n You can read how to resolve NoTransformationFoundException at FAQ: \n https://ktor.io/docs/faq.html#no-transformation-found-exception\n ");
this.message = r.b(sb2.toString());
}
@Override
public String getMessage() {
return this.message;
}
}