Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package com.google.android.gms.tasks;
/* loaded from: classes3.dex */
public final class DuplicateTaskCompletionException extends IllegalStateException {
private DuplicateTaskCompletionException(String str, Throwable th) {
super(str, th);
}
public static IllegalStateException of(Task<?> task) {
if (!task.isComplete()) {
return new IllegalStateException("DuplicateTaskCompletionException can only be created from completed Task.");
}
Exception exception = task.getException();
return new DuplicateTaskCompletionException("Complete with: ".concat(exception != null ? "failure" : task.isSuccessful() ? "result ".concat(String.valueOf(task.getResult())) : task.isCanceled() ? "cancellation" : "unknown issue"), exception);
}
}