Files
rr3-apk/decompiled/sources/com/facebook/FacebookGraphResponseException.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

45 lines
1.5 KiB
Java

package com.facebook;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes2.dex */
public final class FacebookGraphResponseException extends FacebookException {
private final GraphResponse graphResponse;
public final GraphResponse getGraphResponse() {
return this.graphResponse;
}
public FacebookGraphResponseException(GraphResponse graphResponse, String str) {
super(str);
this.graphResponse = graphResponse;
}
@Override // com.facebook.FacebookException, java.lang.Throwable
public String toString() {
GraphResponse graphResponse = this.graphResponse;
FacebookRequestError error = graphResponse == null ? null : graphResponse.getError();
StringBuilder sb = new StringBuilder();
sb.append("{FacebookGraphResponseException: ");
String message = getMessage();
if (message != null) {
sb.append(message);
sb.append(" ");
}
if (error != null) {
sb.append("httpResponseCode: ");
sb.append(error.getRequestStatusCode());
sb.append(", facebookErrorCode: ");
sb.append(error.getErrorCode());
sb.append(", facebookErrorType: ");
sb.append(error.getErrorType());
sb.append(", message: ");
sb.append(error.getErrorMessage());
sb.append("}");
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "errorStringBuilder.toString()");
return sb2;
}
}