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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
@SourceDebugExtension({"SMAP\nClearCredentialCustomException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ClearCredentialCustomException.kt\nandroidx/credentials/exceptions/ClearCredentialCustomException\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,41:1\n1#2:42\n*E\n"})
/* loaded from: classes.dex */
public final class ClearCredentialCustomException extends ClearCredentialException {
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public ClearCredentialCustomException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
@Override // androidx.credentials.exceptions.ClearCredentialException
public String getType() {
return this.type;
}
public /* synthetic */ ClearCredentialCustomException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public ClearCredentialCustomException(String type, CharSequence charSequence) {
super(type, charSequence);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
if (getType().length() <= 0) {
throw new IllegalArgumentException("type must not be empty".toString());
}
}
}

View File

@@ -0,0 +1,111 @@
package androidx.credentials.exceptions;
import android.os.Bundle;
import androidx.annotation.RestrictTo;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public abstract class ClearCredentialException extends Exception {
public static final Companion Companion = new Companion(null);
private static final String EXTRA_CLEAR_CREDENTIAL_EXCEPTION_MESSAGE = "androidx.credentials.provider.extra.CLEAR_CREDENTIAL_EXCEPTION_MESSAGE";
private static final String EXTRA_CLEAR_CREDENTIAL_EXCEPTION_TYPE = "androidx.credentials.provider.extra.CLEAR_CREDENTIAL_EXCEPTION_TYPE";
private final CharSequence errorMessage;
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public ClearCredentialException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
public static final Bundle asBundle(ClearCredentialException clearCredentialException) {
return Companion.asBundle(clearCredentialException);
}
public static final ClearCredentialException fromBundle(Bundle bundle) {
return Companion.fromBundle(bundle);
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public CharSequence getErrorMessage() {
return this.errorMessage;
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public String getType() {
return this.type;
}
public /* synthetic */ ClearCredentialException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Bundle asBundle(ClearCredentialException ex) {
Intrinsics.checkNotNullParameter(ex, "ex");
Bundle bundle = new Bundle();
bundle.putString(ClearCredentialException.EXTRA_CLEAR_CREDENTIAL_EXCEPTION_TYPE, ex.getType());
CharSequence errorMessage = ex.getErrorMessage();
if (errorMessage != null) {
bundle.putCharSequence(ClearCredentialException.EXTRA_CLEAR_CREDENTIAL_EXCEPTION_MESSAGE, errorMessage);
}
return bundle;
}
/* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue
java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "jadx.core.dex.visitors.regions.SwitchOverStringVisitor$SwitchData.getNewCases()" is null
at jadx.core.dex.visitors.regions.SwitchOverStringVisitor.restoreSwitchOverString(SwitchOverStringVisitor.java:109)
at jadx.core.dex.visitors.regions.SwitchOverStringVisitor.visitRegion(SwitchOverStringVisitor.java:66)
at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseIterativeStepInternal(DepthRegionTraversal.java:77)
at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseIterativeStepInternal(DepthRegionTraversal.java:82)
*/
public final ClearCredentialException fromBundle(Bundle bundle) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
String string = bundle.getString(ClearCredentialException.EXTRA_CLEAR_CREDENTIAL_EXCEPTION_TYPE);
if (string == null) {
throw new IllegalArgumentException("Bundle was missing exception type.");
}
CharSequence charSequence = bundle.getCharSequence(ClearCredentialException.EXTRA_CLEAR_CREDENTIAL_EXCEPTION_MESSAGE);
switch (string.hashCode()) {
case -404396566:
if (string.equals(ClearCredentialInterruptedException.TYPE_CLEAR_CREDENTIAL_INTERRUPTED_EXCEPTION)) {
return new ClearCredentialInterruptedException(charSequence);
}
break;
case 1050953245:
if (string.equals(ClearCredentialUnsupportedException.TYPE_CLEAR_CREDENTIAL_UNSUPPORTED_EXCEPTION)) {
return new ClearCredentialUnsupportedException(charSequence);
}
break;
case 1202393376:
if (string.equals(ClearCredentialProviderConfigurationException.TYPE_CLEAR_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION)) {
return new ClearCredentialProviderConfigurationException(charSequence);
}
break;
case 1859614946:
if (string.equals(ClearCredentialUnknownException.TYPE_CLEAR_CREDENTIAL_UNKNOWN_EXCEPTION)) {
return new ClearCredentialUnknownException(charSequence);
}
break;
}
return new ClearCredentialCustomException(string, charSequence);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public ClearCredentialException(String type, CharSequence charSequence) {
super(charSequence != null ? charSequence.toString() : null);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
this.errorMessage = charSequence;
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class ClearCredentialInterruptedException extends ClearCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CLEAR_CREDENTIAL_INTERRUPTED_EXCEPTION = "androidx.credentials.TYPE_CLEAR_CREDENTIAL_INTERRUPTED_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public ClearCredentialInterruptedException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ ClearCredentialInterruptedException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public ClearCredentialInterruptedException(CharSequence charSequence) {
super(TYPE_CLEAR_CREDENTIAL_INTERRUPTED_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class ClearCredentialProviderConfigurationException extends ClearCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CLEAR_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION = "androidx.credentials.TYPE_CLEAR_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public ClearCredentialProviderConfigurationException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ ClearCredentialProviderConfigurationException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public ClearCredentialProviderConfigurationException(CharSequence charSequence) {
super(TYPE_CLEAR_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class ClearCredentialUnknownException extends ClearCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CLEAR_CREDENTIAL_UNKNOWN_EXCEPTION = "android.credentials.ClearCredentialStateException.TYPE_UNKNOWN";
/* JADX WARN: Multi-variable type inference failed */
public ClearCredentialUnknownException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ ClearCredentialUnknownException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public ClearCredentialUnknownException(CharSequence charSequence) {
super(TYPE_CLEAR_CREDENTIAL_UNKNOWN_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class ClearCredentialUnsupportedException extends ClearCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CLEAR_CREDENTIAL_UNSUPPORTED_EXCEPTION = "androidx.credentials.TYPE_CLEAR_CREDENTIAL_UNSUPPORTED_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public ClearCredentialUnsupportedException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ ClearCredentialUnsupportedException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public ClearCredentialUnsupportedException(CharSequence charSequence) {
super(TYPE_CLEAR_CREDENTIAL_UNSUPPORTED_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class CreateCredentialCancellationException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_CREDENTIAL_CANCELLATION_EXCEPTION = "android.credentials.CreateCredentialException.TYPE_USER_CANCELED";
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialCancellationException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ CreateCredentialCancellationException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public CreateCredentialCancellationException(CharSequence charSequence) {
super(TYPE_CREATE_CREDENTIAL_CANCELLATION_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,37 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
@SourceDebugExtension({"SMAP\nCreateCredentialCustomException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CreateCredentialCustomException.kt\nandroidx/credentials/exceptions/CreateCredentialCustomException\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,41:1\n1#2:42\n*E\n"})
/* loaded from: classes.dex */
public final class CreateCredentialCustomException extends CreateCredentialException {
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialCustomException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
@Override // androidx.credentials.exceptions.CreateCredentialException
public String getType() {
return this.type;
}
public /* synthetic */ CreateCredentialCustomException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CreateCredentialCustomException(String type, CharSequence charSequence) {
super(type, charSequence);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
if (getType().length() <= 0) {
throw new IllegalArgumentException("type must not be empty".toString());
}
}
}

View File

@@ -0,0 +1,82 @@
package androidx.credentials.exceptions;
import android.os.Bundle;
import androidx.annotation.RestrictTo;
import androidx.credentials.internal.ConversionUtilsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public abstract class CreateCredentialException extends Exception {
public static final Companion Companion = new Companion(null);
private static final String EXTRA_CREATE_CREDENTIAL_EXCEPTION_MESSAGE = "androidx.credentials.provider.extra.CREATE_CREDENTIAL_EXCEPTION_MESSAGE";
private static final String EXTRA_CREATE_CREDENTIAL_EXCEPTION_TYPE = "androidx.credentials.provider.extra.CREATE_CREDENTIAL_EXCEPTION_TYPE";
private final CharSequence errorMessage;
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
public static final Bundle asBundle(CreateCredentialException createCredentialException) {
return Companion.asBundle(createCredentialException);
}
public static final CreateCredentialException fromBundle(Bundle bundle) {
return Companion.fromBundle(bundle);
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public CharSequence getErrorMessage() {
return this.errorMessage;
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public String getType() {
return this.type;
}
public /* synthetic */ CreateCredentialException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Bundle asBundle(CreateCredentialException ex) {
Intrinsics.checkNotNullParameter(ex, "ex");
Bundle bundle = new Bundle();
bundle.putString(CreateCredentialException.EXTRA_CREATE_CREDENTIAL_EXCEPTION_TYPE, ex.getType());
CharSequence errorMessage = ex.getErrorMessage();
if (errorMessage != null) {
bundle.putCharSequence(CreateCredentialException.EXTRA_CREATE_CREDENTIAL_EXCEPTION_MESSAGE, errorMessage);
}
return bundle;
}
public final CreateCredentialException fromBundle(Bundle bundle) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
String string = bundle.getString(CreateCredentialException.EXTRA_CREATE_CREDENTIAL_EXCEPTION_TYPE);
if (string == null) {
throw new IllegalArgumentException("Bundle was missing exception type.");
}
return ConversionUtilsKt.toJetpackCreateException(string, bundle.getCharSequence(CreateCredentialException.EXTRA_CREATE_CREDENTIAL_EXCEPTION_MESSAGE));
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CreateCredentialException(String type, CharSequence charSequence) {
super(charSequence != null ? charSequence.toString() : null);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
this.errorMessage = charSequence;
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class CreateCredentialInterruptedException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_CREDENTIAL_INTERRUPTED_EXCEPTION = "android.credentials.CreateCredentialException.TYPE_INTERRUPTED";
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialInterruptedException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ CreateCredentialInterruptedException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public CreateCredentialInterruptedException(CharSequence charSequence) {
super(TYPE_CREATE_CREDENTIAL_INTERRUPTED_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class CreateCredentialNoCreateOptionException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_CREDENTIAL_NO_CREATE_OPTION = "android.credentials.CreateCredentialException.TYPE_NO_CREATE_OPTIONS";
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialNoCreateOptionException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ CreateCredentialNoCreateOptionException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public CreateCredentialNoCreateOptionException(CharSequence charSequence) {
super(TYPE_CREATE_CREDENTIAL_NO_CREATE_OPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class CreateCredentialProviderConfigurationException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION = "androidx.credentials.TYPE_CREATE_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialProviderConfigurationException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ CreateCredentialProviderConfigurationException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public CreateCredentialProviderConfigurationException(CharSequence charSequence) {
super(TYPE_CREATE_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION, charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class CreateCredentialUnknownException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_CREDENTIAL_UNKNOWN_EXCEPTION = "android.credentials.CreateCredentialException.TYPE_UNKNOWN";
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialUnknownException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ CreateCredentialUnknownException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public CreateCredentialUnknownException(CharSequence charSequence) {
super(TYPE_CREATE_CREDENTIAL_UNKNOWN_EXCEPTION, charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class CreateCredentialUnsupportedException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_CREDENTIAL_UNSUPPORTED_EXCEPTION = "androidx.credentials.TYPE_CREATE_CREDENTIAL_UNSUPPORTED_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public CreateCredentialUnsupportedException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ CreateCredentialUnsupportedException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public CreateCredentialUnsupportedException(CharSequence charSequence) {
super(TYPE_CREATE_CREDENTIAL_UNSUPPORTED_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class GetCredentialCancellationException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_GET_CREDENTIAL_CANCELLATION_EXCEPTION = "android.credentials.GetCredentialException.TYPE_USER_CANCELED";
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialCancellationException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ GetCredentialCancellationException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public GetCredentialCancellationException(CharSequence charSequence) {
super("android.credentials.GetCredentialException.TYPE_USER_CANCELED", charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,37 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
@SourceDebugExtension({"SMAP\nGetCredentialCustomException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 GetCredentialCustomException.kt\nandroidx/credentials/exceptions/GetCredentialCustomException\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,41:1\n1#2:42\n*E\n"})
/* loaded from: classes.dex */
public final class GetCredentialCustomException extends GetCredentialException {
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialCustomException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
@Override // androidx.credentials.exceptions.GetCredentialException
public String getType() {
return this.type;
}
public /* synthetic */ GetCredentialCustomException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public GetCredentialCustomException(String type, CharSequence charSequence) {
super(type, charSequence);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
if (getType().length() <= 0) {
throw new IllegalArgumentException("type must not be empty".toString());
}
}
}

View File

@@ -0,0 +1,82 @@
package androidx.credentials.exceptions;
import android.os.Bundle;
import androidx.annotation.RestrictTo;
import androidx.credentials.internal.ConversionUtilsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public abstract class GetCredentialException extends Exception {
public static final Companion Companion = new Companion(null);
private static final String EXTRA_GET_CREDENTIAL_EXCEPTION_MESSAGE = "androidx.credentials.provider.extra.CREATE_CREDENTIAL_EXCEPTION_MESSAGE";
private static final String EXTRA_GET_CREDENTIAL_EXCEPTION_TYPE = "androidx.credentials.provider.extra.CREATE_CREDENTIAL_EXCEPTION_TYPE";
private final CharSequence errorMessage;
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
public static final Bundle asBundle(GetCredentialException getCredentialException) {
return Companion.asBundle(getCredentialException);
}
public static final GetCredentialException fromBundle(Bundle bundle) {
return Companion.fromBundle(bundle);
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public CharSequence getErrorMessage() {
return this.errorMessage;
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public String getType() {
return this.type;
}
public /* synthetic */ GetCredentialException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Bundle asBundle(GetCredentialException ex) {
Intrinsics.checkNotNullParameter(ex, "ex");
Bundle bundle = new Bundle();
bundle.putString(GetCredentialException.EXTRA_GET_CREDENTIAL_EXCEPTION_TYPE, ex.getType());
CharSequence errorMessage = ex.getErrorMessage();
if (errorMessage != null) {
bundle.putCharSequence(GetCredentialException.EXTRA_GET_CREDENTIAL_EXCEPTION_MESSAGE, errorMessage);
}
return bundle;
}
public final GetCredentialException fromBundle(Bundle bundle) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
String string = bundle.getString(GetCredentialException.EXTRA_GET_CREDENTIAL_EXCEPTION_TYPE);
if (string == null) {
throw new IllegalArgumentException("Bundle was missing exception type.");
}
return ConversionUtilsKt.toJetpackGetException(string, bundle.getCharSequence(GetCredentialException.EXTRA_GET_CREDENTIAL_EXCEPTION_MESSAGE));
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public GetCredentialException(String type, CharSequence charSequence) {
super(charSequence != null ? charSequence.toString() : null);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
this.errorMessage = charSequence;
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class GetCredentialInterruptedException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_GET_CREDENTIAL_INTERRUPTED_EXCEPTION = "android.credentials.GetCredentialException.TYPE_INTERRUPTED";
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialInterruptedException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ GetCredentialInterruptedException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public GetCredentialInterruptedException(CharSequence charSequence) {
super(TYPE_GET_CREDENTIAL_INTERRUPTED_EXCEPTION, charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class GetCredentialProviderConfigurationException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_GET_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION = "androidx.credentials.TYPE_GET_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialProviderConfigurationException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ GetCredentialProviderConfigurationException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public GetCredentialProviderConfigurationException(CharSequence charSequence) {
super(TYPE_GET_CREDENTIAL_PROVIDER_CONFIGURATION_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class GetCredentialUnknownException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_GET_CREDENTIAL_UNKNOWN_EXCEPTION = "android.credentials.GetCredentialException.TYPE_UNKNOWN";
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialUnknownException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ GetCredentialUnknownException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public GetCredentialUnknownException(CharSequence charSequence) {
super("android.credentials.GetCredentialException.TYPE_UNKNOWN", charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class GetCredentialUnsupportedException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_GET_CREDENTIAL_UNSUPPORTED_EXCEPTION = "androidx.credentials.TYPE_GET_CREDENTIAL_UNSUPPORTED_EXCEPTION";
/* JADX WARN: Multi-variable type inference failed */
public GetCredentialUnsupportedException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ GetCredentialUnsupportedException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public GetCredentialUnsupportedException(CharSequence charSequence) {
super(TYPE_GET_CREDENTIAL_UNSUPPORTED_EXCEPTION, charSequence);
}
}

View File

@@ -0,0 +1,31 @@
package androidx.credentials.exceptions;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NoCredentialException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_FRAMEWORK_TYPE_NO_CREDENTIAL = "android.credentials.GetCredentialException.TYPE_NO_CREDENTIAL";
/* JADX WARN: Multi-variable type inference failed */
public NoCredentialException() {
this(null, 1, 0 == true ? 1 : 0);
}
public /* synthetic */ NoCredentialException(CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : charSequence);
}
public NoCredentialException(CharSequence charSequence) {
super("android.credentials.GetCredentialException.TYPE_NO_CREDENTIAL", charSequence);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class AbortError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ABORT_ERROR = "androidx.credentials.TYPE_ABORT_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public AbortError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ABORT_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class ConstraintError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_CONSTRAINT_ERROR = "androidx.credentials.TYPE_CONSTRAINT_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public ConstraintError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_CONSTRAINT_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class DataCloneError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_CLONE_ERROR = "androidx.credentials.TYPE_DATA_CLONE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public DataCloneError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_CLONE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class DataError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_ERROR = "androidx.credentials.TYPE_DATA_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public DataError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_ERROR);
}
}

View File

@@ -0,0 +1,21 @@
package androidx.credentials.exceptions.domerrors;
import androidx.annotation.RestrictTo;
import androidx.annotation.VisibleForTesting;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public abstract class DomError {
private final String type;
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
@VisibleForTesting(otherwise = 3)
public String getType() {
return this.type;
}
public DomError(String type) {
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class EncodingError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ENCODING_ERROR = "androidx.credentials.TYPE_ENCODING_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public EncodingError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ENCODING_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class HierarchyRequestError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_HIERARCHY_REQUEST_ERROR = "androidx.credentials.TYPE_HIERARCHY_REQUEST_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public HierarchyRequestError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_HIERARCHY_REQUEST_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class InUseAttributeError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_IN_USE_ATTRIBUTE_ERROR = "androidx.credentials.TYPE_IN_USE_ATTRIBUTE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public InUseAttributeError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_IN_USE_ATTRIBUTE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class InvalidCharacterError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_CHARACTER_ERROR = "androidx.credentials.TYPE_INVALID_CHARACTER_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public InvalidCharacterError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_CHARACTER_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class InvalidModificationError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_MODIFICATION_ERROR = "androidx.credentials.TYPE_INVALID_MODIFICATION_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public InvalidModificationError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_MODIFICATION_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class InvalidNodeTypeError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_NODE_TYPE_ERROR = "androidx.credentials.TYPE_INVALID_NODE_TYPE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public InvalidNodeTypeError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_NODE_TYPE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class InvalidStateError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_STATE_ERROR = "androidx.credentials.TYPE_INVALID_STATE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public InvalidStateError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_STATE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NamespaceError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NAMESPACE_ERROR = "androidx.credentials.TYPE_NAMESPACE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NamespaceError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NAMESPACE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NetworkError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NETWORK_ERROR = "androidx.credentials.TYPE_NETWORK_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NetworkError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NETWORK_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NoModificationAllowedError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NO_MODIFICATION_ALLOWED_ERROR = "androidx.credentials.TYPE_NO_MODIFICATION_ALLOWED_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NoModificationAllowedError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NO_MODIFICATION_ALLOWED_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NotAllowedError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_ALLOWED_ERROR = "androidx.credentials.TYPE_NOT_ALLOWED_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NotAllowedError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_ALLOWED_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NotFoundError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_FOUND_ERROR = "androidx.credentials.TYPE_NOT_FOUND_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NotFoundError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_FOUND_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NotReadableError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_READABLE_ERROR = "androidx.credentials.TYPE_NOT_READABLE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NotReadableError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_READABLE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class NotSupportedError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_SUPPORTED_ERROR = "androidx.credentials.TYPE_NOT_SUPPORTED_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public NotSupportedError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_SUPPORTED_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class OperationError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPERATION_ERROR = "androidx.credentials.TYPE_OPERATION_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public OperationError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPERATION_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class OptOutError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPT_OUT_ERROR = "androidx.credentials.TYPE_OPT_OUT_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public OptOutError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPT_OUT_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class QuotaExceededError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_QUOTA_EXCEEDED_ERROR = "androidx.credentials.TYPE_QUOTA_EXCEEDED_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public QuotaExceededError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_QUOTA_EXCEEDED_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class ReadOnlyError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_READ_ONLY_ERROR = "androidx.credentials.TYPE_READ_ONLY_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public ReadOnlyError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_READ_ONLY_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class SecurityError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SECURITY_ERROR = "androidx.credentials.TYPE_SECURITY_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public SecurityError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SECURITY_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class SyntaxError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SYNTAX_ERROR = "androidx.credentials.TYPE_SYNTAX_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public SyntaxError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SYNTAX_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class TimeoutError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TIMEOUT_ERROR = "androidx.credentials.TYPE_TIMEOUT_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public TimeoutError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TIMEOUT_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class TransactionInactiveError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TRANSACTION_INACTIVE_ERROR = "androidx.credentials.TYPE_TRANSACTION_INACTIVE_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public TransactionInactiveError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TRANSACTION_INACTIVE_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class UnknownError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_UNKNOWN_ERROR = "androidx.credentials.TYPE_UNKNOWN_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public UnknownError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_UNKNOWN_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class VersionError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_VERSION_ERROR = "androidx.credentials.TYPE_VERSION_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public VersionError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_VERSION_ERROR);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.credentials.exceptions.domerrors;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes.dex */
public final class WrongDocumentError extends DomError {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_WRONG_DOCUMENT_ERROR = "androidx.credentials.TYPE_WRONG_DOCUMENT_ERROR";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
public WrongDocumentError() {
super(TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_WRONG_DOCUMENT_ERROR);
}
}

View File

@@ -0,0 +1,215 @@
package androidx.credentials.exceptions.publickeycredential;
import androidx.annotation.RestrictTo;
import androidx.credentials.exceptions.CreateCredentialCustomException;
import androidx.credentials.exceptions.CreateCredentialException;
import androidx.credentials.exceptions.domerrors.AbortError;
import androidx.credentials.exceptions.domerrors.ConstraintError;
import androidx.credentials.exceptions.domerrors.DataCloneError;
import androidx.credentials.exceptions.domerrors.DataError;
import androidx.credentials.exceptions.domerrors.DomError;
import androidx.credentials.exceptions.domerrors.EncodingError;
import androidx.credentials.exceptions.domerrors.HierarchyRequestError;
import androidx.credentials.exceptions.domerrors.InUseAttributeError;
import androidx.credentials.exceptions.domerrors.InvalidCharacterError;
import androidx.credentials.exceptions.domerrors.InvalidModificationError;
import androidx.credentials.exceptions.domerrors.InvalidNodeTypeError;
import androidx.credentials.exceptions.domerrors.InvalidStateError;
import androidx.credentials.exceptions.domerrors.NamespaceError;
import androidx.credentials.exceptions.domerrors.NetworkError;
import androidx.credentials.exceptions.domerrors.NoModificationAllowedError;
import androidx.credentials.exceptions.domerrors.NotAllowedError;
import androidx.credentials.exceptions.domerrors.NotFoundError;
import androidx.credentials.exceptions.domerrors.NotReadableError;
import androidx.credentials.exceptions.domerrors.NotSupportedError;
import androidx.credentials.exceptions.domerrors.OperationError;
import androidx.credentials.exceptions.domerrors.OptOutError;
import androidx.credentials.exceptions.domerrors.QuotaExceededError;
import androidx.credentials.exceptions.domerrors.ReadOnlyError;
import androidx.credentials.exceptions.domerrors.SecurityError;
import androidx.credentials.exceptions.domerrors.SyntaxError;
import androidx.credentials.exceptions.domerrors.TimeoutError;
import androidx.credentials.exceptions.domerrors.TransactionInactiveError;
import androidx.credentials.exceptions.domerrors.UnknownError;
import androidx.credentials.exceptions.domerrors.VersionError;
import androidx.credentials.exceptions.domerrors.WrongDocumentError;
import androidx.credentials.exceptions.publickeycredential.DomExceptionUtils;
import androidx.credentials.internal.FrameworkClassParsingException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
/* loaded from: classes.dex */
public final class CreatePublicKeyCredentialDomException extends CreatePublicKeyCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION = "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION";
private final DomError domError;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public CreatePublicKeyCredentialDomException(DomError domError) {
this(domError, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(domError, "domError");
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static final CreateCredentialException createFrom(String str, String str2) {
return Companion.createFrom(str, str2);
}
public final DomError getDomError() {
return this.domError;
}
public /* synthetic */ CreatePublicKeyCredentialDomException(DomError domError, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(domError, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CreatePublicKeyCredentialDomException(DomError domError, CharSequence charSequence) {
super("androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + domError.getType(), charSequence);
Intrinsics.checkNotNullParameter(domError, "domError");
this.domError = domError;
}
@SourceDebugExtension({"SMAP\nCreatePublicKeyCredentialDomException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CreatePublicKeyCredentialDomException.kt\nandroidx/credentials/exceptions/publickeycredential/CreatePublicKeyCredentialDomException$Companion\n+ 2 DomExceptionUtils.kt\nandroidx/credentials/exceptions/publickeycredential/DomExceptionUtils$Companion\n*L\n1#1,67:1\n67#2,75:68\n*S KotlinDebug\n*F\n+ 1 CreatePublicKeyCredentialDomException.kt\nandroidx/credentials/exceptions/publickeycredential/CreatePublicKeyCredentialDomException$Companion\n*L\n53#1:68,75\n*E\n"})
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
/* JADX WARN: Multi-variable type inference failed */
@RestrictTo({RestrictTo.Scope.LIBRARY})
public final CreateCredentialException createFrom(String type, String str) {
Object generateException;
Intrinsics.checkNotNullParameter(type, "type");
try {
DomExceptionUtils.Companion companion = DomExceptionUtils.Companion;
CreatePublicKeyCredentialDomException createPublicKeyCredentialDomException = new CreatePublicKeyCredentialDomException(new UnknownError(), null, 2, 0 == true ? 1 : 0);
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + AbortError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ABORT_ERROR)) {
generateException = companion.generateException(new AbortError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + ConstraintError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_CONSTRAINT_ERROR)) {
generateException = companion.generateException(new ConstraintError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + DataCloneError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_CLONE_ERROR)) {
generateException = companion.generateException(new DataCloneError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + DataError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_ERROR)) {
generateException = companion.generateException(new DataError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + EncodingError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ENCODING_ERROR)) {
generateException = companion.generateException(new EncodingError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + HierarchyRequestError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_HIERARCHY_REQUEST_ERROR)) {
generateException = companion.generateException(new HierarchyRequestError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InUseAttributeError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_IN_USE_ATTRIBUTE_ERROR)) {
generateException = companion.generateException(new InUseAttributeError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidCharacterError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_CHARACTER_ERROR)) {
generateException = companion.generateException(new InvalidCharacterError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidModificationError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_MODIFICATION_ERROR)) {
generateException = companion.generateException(new InvalidModificationError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidNodeTypeError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_NODE_TYPE_ERROR)) {
generateException = companion.generateException(new InvalidNodeTypeError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidStateError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_STATE_ERROR)) {
generateException = companion.generateException(new InvalidStateError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NamespaceError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NAMESPACE_ERROR)) {
generateException = companion.generateException(new NamespaceError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NetworkError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NETWORK_ERROR)) {
generateException = companion.generateException(new NetworkError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NoModificationAllowedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NO_MODIFICATION_ALLOWED_ERROR)) {
generateException = companion.generateException(new NoModificationAllowedError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotAllowedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_ALLOWED_ERROR)) {
generateException = companion.generateException(new NotAllowedError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotFoundError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_FOUND_ERROR)) {
generateException = companion.generateException(new NotFoundError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotReadableError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_READABLE_ERROR)) {
generateException = companion.generateException(new NotReadableError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotSupportedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_SUPPORTED_ERROR)) {
generateException = companion.generateException(new NotSupportedError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + OperationError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPERATION_ERROR)) {
generateException = companion.generateException(new OperationError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + OptOutError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPT_OUT_ERROR)) {
generateException = companion.generateException(new OptOutError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + QuotaExceededError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_QUOTA_EXCEEDED_ERROR)) {
generateException = companion.generateException(new QuotaExceededError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + ReadOnlyError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_READ_ONLY_ERROR)) {
generateException = companion.generateException(new ReadOnlyError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + SecurityError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SECURITY_ERROR)) {
generateException = companion.generateException(new SecurityError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + SyntaxError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SYNTAX_ERROR)) {
generateException = companion.generateException(new SyntaxError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + TimeoutError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TIMEOUT_ERROR)) {
generateException = companion.generateException(new TimeoutError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + TransactionInactiveError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TRANSACTION_INACTIVE_ERROR)) {
generateException = companion.generateException(new TransactionInactiveError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + UnknownError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_UNKNOWN_ERROR)) {
generateException = companion.generateException(new UnknownError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + VersionError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_VERSION_ERROR)) {
generateException = companion.generateException(new VersionError(), str, createPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + WrongDocumentError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_WRONG_DOCUMENT_ERROR)) {
generateException = companion.generateException(new WrongDocumentError(), str, createPublicKeyCredentialDomException);
} else {
throw new FrameworkClassParsingException();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return (CreateCredentialException) generateException;
} catch (FrameworkClassParsingException unused) {
return new CreateCredentialCustomException(type, str);
}
}
}
}

View File

@@ -0,0 +1,73 @@
package androidx.credentials.exceptions.publickeycredential;
import androidx.annotation.RestrictTo;
import androidx.credentials.exceptions.CreateCredentialCustomException;
import androidx.credentials.exceptions.CreateCredentialException;
import androidx.credentials.internal.FrameworkClassParsingException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlin.text.StringsKt__StringsKt;
@SourceDebugExtension({"SMAP\nCreatePublicKeyCredentialException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CreatePublicKeyCredentialException.kt\nandroidx/credentials/exceptions/publickeycredential/CreatePublicKeyCredentialException\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,67:1\n1#2:68\n*E\n"})
/* loaded from: classes.dex */
public class CreatePublicKeyCredentialException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public CreatePublicKeyCredentialException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static final CreateCredentialException createFrom(String str, String str2) {
return Companion.createFrom(str, str2);
}
@Override // androidx.credentials.exceptions.CreateCredentialException
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public String getType() {
return this.type;
}
public /* synthetic */ CreatePublicKeyCredentialException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CreatePublicKeyCredentialException(String type, CharSequence charSequence) {
super(type, charSequence);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
if (getType().length() <= 0) {
throw new IllegalArgumentException("type must not be empty".toString());
}
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public final CreateCredentialException createFrom(String type, String str) {
boolean contains$default;
Intrinsics.checkNotNullParameter(type, "type");
try {
contains$default = StringsKt__StringsKt.contains$default(type, CreatePublicKeyCredentialDomException.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION, false, 2, null);
if (contains$default) {
return CreatePublicKeyCredentialDomException.Companion.createFrom(type, str);
}
throw new FrameworkClassParsingException();
} catch (FrameworkClassParsingException unused) {
return new CreateCredentialCustomException(type, str);
}
}
}
}

View File

@@ -0,0 +1,157 @@
package androidx.credentials.exceptions.publickeycredential;
import androidx.annotation.RestrictTo;
import androidx.credentials.exceptions.domerrors.AbortError;
import androidx.credentials.exceptions.domerrors.ConstraintError;
import androidx.credentials.exceptions.domerrors.DataCloneError;
import androidx.credentials.exceptions.domerrors.DataError;
import androidx.credentials.exceptions.domerrors.DomError;
import androidx.credentials.exceptions.domerrors.EncodingError;
import androidx.credentials.exceptions.domerrors.HierarchyRequestError;
import androidx.credentials.exceptions.domerrors.InUseAttributeError;
import androidx.credentials.exceptions.domerrors.InvalidCharacterError;
import androidx.credentials.exceptions.domerrors.InvalidModificationError;
import androidx.credentials.exceptions.domerrors.InvalidNodeTypeError;
import androidx.credentials.exceptions.domerrors.InvalidStateError;
import androidx.credentials.exceptions.domerrors.NamespaceError;
import androidx.credentials.exceptions.domerrors.NetworkError;
import androidx.credentials.exceptions.domerrors.NoModificationAllowedError;
import androidx.credentials.exceptions.domerrors.NotAllowedError;
import androidx.credentials.exceptions.domerrors.NotFoundError;
import androidx.credentials.exceptions.domerrors.NotReadableError;
import androidx.credentials.exceptions.domerrors.NotSupportedError;
import androidx.credentials.exceptions.domerrors.OperationError;
import androidx.credentials.exceptions.domerrors.OptOutError;
import androidx.credentials.exceptions.domerrors.QuotaExceededError;
import androidx.credentials.exceptions.domerrors.ReadOnlyError;
import androidx.credentials.exceptions.domerrors.SecurityError;
import androidx.credentials.exceptions.domerrors.SyntaxError;
import androidx.credentials.exceptions.domerrors.TimeoutError;
import androidx.credentials.exceptions.domerrors.TransactionInactiveError;
import androidx.credentials.exceptions.domerrors.UnknownError;
import androidx.credentials.exceptions.domerrors.VersionError;
import androidx.credentials.exceptions.domerrors.WrongDocumentError;
import androidx.credentials.internal.FrameworkClassParsingException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public final class DomExceptionUtils {
public static final Companion Companion = new Companion(null);
public static final String SEPARATOR = "/";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public final /* synthetic */ <T> T generateDomException$credentials_release(String type, String prefix, String str, T t) {
Intrinsics.checkNotNullParameter(type, "type");
Intrinsics.checkNotNullParameter(prefix, "prefix");
if (Intrinsics.areEqual(type, prefix + AbortError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ABORT_ERROR)) {
return (T) generateException(new AbortError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + ConstraintError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_CONSTRAINT_ERROR)) {
return (T) generateException(new ConstraintError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + DataCloneError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_CLONE_ERROR)) {
return (T) generateException(new DataCloneError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + DataError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_ERROR)) {
return (T) generateException(new DataError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + EncodingError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ENCODING_ERROR)) {
return (T) generateException(new EncodingError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + HierarchyRequestError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_HIERARCHY_REQUEST_ERROR)) {
return (T) generateException(new HierarchyRequestError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + InUseAttributeError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_IN_USE_ATTRIBUTE_ERROR)) {
return (T) generateException(new InUseAttributeError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + InvalidCharacterError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_CHARACTER_ERROR)) {
return (T) generateException(new InvalidCharacterError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + InvalidModificationError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_MODIFICATION_ERROR)) {
return (T) generateException(new InvalidModificationError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + InvalidNodeTypeError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_NODE_TYPE_ERROR)) {
return (T) generateException(new InvalidNodeTypeError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + InvalidStateError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_STATE_ERROR)) {
return (T) generateException(new InvalidStateError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NamespaceError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NAMESPACE_ERROR)) {
return (T) generateException(new NamespaceError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NetworkError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NETWORK_ERROR)) {
return (T) generateException(new NetworkError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NoModificationAllowedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NO_MODIFICATION_ALLOWED_ERROR)) {
return (T) generateException(new NoModificationAllowedError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NotAllowedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_ALLOWED_ERROR)) {
return (T) generateException(new NotAllowedError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NotFoundError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_FOUND_ERROR)) {
return (T) generateException(new NotFoundError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NotReadableError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_READABLE_ERROR)) {
return (T) generateException(new NotReadableError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + NotSupportedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_SUPPORTED_ERROR)) {
return (T) generateException(new NotSupportedError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + OperationError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPERATION_ERROR)) {
return (T) generateException(new OperationError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + OptOutError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPT_OUT_ERROR)) {
return (T) generateException(new OptOutError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + QuotaExceededError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_QUOTA_EXCEEDED_ERROR)) {
return (T) generateException(new QuotaExceededError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + ReadOnlyError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_READ_ONLY_ERROR)) {
return (T) generateException(new ReadOnlyError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + SecurityError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SECURITY_ERROR)) {
return (T) generateException(new SecurityError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + SyntaxError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SYNTAX_ERROR)) {
return (T) generateException(new SyntaxError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + TimeoutError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TIMEOUT_ERROR)) {
return (T) generateException(new TimeoutError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + TransactionInactiveError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TRANSACTION_INACTIVE_ERROR)) {
return (T) generateException(new TransactionInactiveError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + UnknownError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_UNKNOWN_ERROR)) {
return (T) generateException(new UnknownError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + VersionError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_VERSION_ERROR)) {
return (T) generateException(new VersionError(), str, t);
}
if (Intrinsics.areEqual(type, prefix + WrongDocumentError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_WRONG_DOCUMENT_ERROR)) {
return (T) generateException(new WrongDocumentError(), str, t);
}
throw new FrameworkClassParsingException();
}
/* JADX INFO: Access modifiers changed from: private */
public final <T> T generateException(DomError domError, String str, T t) {
if (t instanceof CreatePublicKeyCredentialDomException) {
return (T) new CreatePublicKeyCredentialDomException(domError, str);
}
if (t instanceof GetPublicKeyCredentialDomException) {
return (T) new GetPublicKeyCredentialDomException(domError, str);
}
throw new FrameworkClassParsingException();
}
}
}

View File

@@ -0,0 +1,215 @@
package androidx.credentials.exceptions.publickeycredential;
import androidx.annotation.RestrictTo;
import androidx.credentials.exceptions.GetCredentialCustomException;
import androidx.credentials.exceptions.GetCredentialException;
import androidx.credentials.exceptions.domerrors.AbortError;
import androidx.credentials.exceptions.domerrors.ConstraintError;
import androidx.credentials.exceptions.domerrors.DataCloneError;
import androidx.credentials.exceptions.domerrors.DataError;
import androidx.credentials.exceptions.domerrors.DomError;
import androidx.credentials.exceptions.domerrors.EncodingError;
import androidx.credentials.exceptions.domerrors.HierarchyRequestError;
import androidx.credentials.exceptions.domerrors.InUseAttributeError;
import androidx.credentials.exceptions.domerrors.InvalidCharacterError;
import androidx.credentials.exceptions.domerrors.InvalidModificationError;
import androidx.credentials.exceptions.domerrors.InvalidNodeTypeError;
import androidx.credentials.exceptions.domerrors.InvalidStateError;
import androidx.credentials.exceptions.domerrors.NamespaceError;
import androidx.credentials.exceptions.domerrors.NetworkError;
import androidx.credentials.exceptions.domerrors.NoModificationAllowedError;
import androidx.credentials.exceptions.domerrors.NotAllowedError;
import androidx.credentials.exceptions.domerrors.NotFoundError;
import androidx.credentials.exceptions.domerrors.NotReadableError;
import androidx.credentials.exceptions.domerrors.NotSupportedError;
import androidx.credentials.exceptions.domerrors.OperationError;
import androidx.credentials.exceptions.domerrors.OptOutError;
import androidx.credentials.exceptions.domerrors.QuotaExceededError;
import androidx.credentials.exceptions.domerrors.ReadOnlyError;
import androidx.credentials.exceptions.domerrors.SecurityError;
import androidx.credentials.exceptions.domerrors.SyntaxError;
import androidx.credentials.exceptions.domerrors.TimeoutError;
import androidx.credentials.exceptions.domerrors.TransactionInactiveError;
import androidx.credentials.exceptions.domerrors.UnknownError;
import androidx.credentials.exceptions.domerrors.VersionError;
import androidx.credentials.exceptions.domerrors.WrongDocumentError;
import androidx.credentials.exceptions.publickeycredential.DomExceptionUtils;
import androidx.credentials.internal.FrameworkClassParsingException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
/* loaded from: classes.dex */
public final class GetPublicKeyCredentialDomException extends GetPublicKeyCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION = "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION";
private final DomError domError;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public GetPublicKeyCredentialDomException(DomError domError) {
this(domError, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(domError, "domError");
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static final GetCredentialException createFrom(String str, String str2) {
return Companion.createFrom(str, str2);
}
public final DomError getDomError() {
return this.domError;
}
public /* synthetic */ GetPublicKeyCredentialDomException(DomError domError, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(domError, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public GetPublicKeyCredentialDomException(DomError domError, CharSequence charSequence) {
super("androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + domError.getType(), charSequence);
Intrinsics.checkNotNullParameter(domError, "domError");
this.domError = domError;
}
@SourceDebugExtension({"SMAP\nGetPublicKeyCredentialDomException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 GetPublicKeyCredentialDomException.kt\nandroidx/credentials/exceptions/publickeycredential/GetPublicKeyCredentialDomException$Companion\n+ 2 DomExceptionUtils.kt\nandroidx/credentials/exceptions/publickeycredential/DomExceptionUtils$Companion\n*L\n1#1,67:1\n67#2,75:68\n*S KotlinDebug\n*F\n+ 1 GetPublicKeyCredentialDomException.kt\nandroidx/credentials/exceptions/publickeycredential/GetPublicKeyCredentialDomException$Companion\n*L\n53#1:68,75\n*E\n"})
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
/* JADX WARN: Multi-variable type inference failed */
@RestrictTo({RestrictTo.Scope.LIBRARY})
public final GetCredentialException createFrom(String type, String str) {
Object generateException;
Intrinsics.checkNotNullParameter(type, "type");
try {
DomExceptionUtils.Companion companion = DomExceptionUtils.Companion;
GetPublicKeyCredentialDomException getPublicKeyCredentialDomException = new GetPublicKeyCredentialDomException(new UnknownError(), null, 2, 0 == true ? 1 : 0);
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + AbortError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ABORT_ERROR)) {
generateException = companion.generateException(new AbortError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + ConstraintError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_CONSTRAINT_ERROR)) {
generateException = companion.generateException(new ConstraintError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + DataCloneError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_CLONE_ERROR)) {
generateException = companion.generateException(new DataCloneError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + DataError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DATA_ERROR)) {
generateException = companion.generateException(new DataError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + EncodingError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_ENCODING_ERROR)) {
generateException = companion.generateException(new EncodingError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + HierarchyRequestError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_HIERARCHY_REQUEST_ERROR)) {
generateException = companion.generateException(new HierarchyRequestError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InUseAttributeError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_IN_USE_ATTRIBUTE_ERROR)) {
generateException = companion.generateException(new InUseAttributeError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidCharacterError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_CHARACTER_ERROR)) {
generateException = companion.generateException(new InvalidCharacterError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidModificationError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_MODIFICATION_ERROR)) {
generateException = companion.generateException(new InvalidModificationError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidNodeTypeError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_NODE_TYPE_ERROR)) {
generateException = companion.generateException(new InvalidNodeTypeError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + InvalidStateError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_INVALID_STATE_ERROR)) {
generateException = companion.generateException(new InvalidStateError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NamespaceError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NAMESPACE_ERROR)) {
generateException = companion.generateException(new NamespaceError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NetworkError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NETWORK_ERROR)) {
generateException = companion.generateException(new NetworkError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NoModificationAllowedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NO_MODIFICATION_ALLOWED_ERROR)) {
generateException = companion.generateException(new NoModificationAllowedError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotAllowedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_ALLOWED_ERROR)) {
generateException = companion.generateException(new NotAllowedError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotFoundError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_FOUND_ERROR)) {
generateException = companion.generateException(new NotFoundError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotReadableError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_READABLE_ERROR)) {
generateException = companion.generateException(new NotReadableError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + NotSupportedError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_NOT_SUPPORTED_ERROR)) {
generateException = companion.generateException(new NotSupportedError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + OperationError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPERATION_ERROR)) {
generateException = companion.generateException(new OperationError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + OptOutError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_OPT_OUT_ERROR)) {
generateException = companion.generateException(new OptOutError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + QuotaExceededError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_QUOTA_EXCEEDED_ERROR)) {
generateException = companion.generateException(new QuotaExceededError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + ReadOnlyError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_READ_ONLY_ERROR)) {
generateException = companion.generateException(new ReadOnlyError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + SecurityError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SECURITY_ERROR)) {
generateException = companion.generateException(new SecurityError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + SyntaxError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_SYNTAX_ERROR)) {
generateException = companion.generateException(new SyntaxError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + TimeoutError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TIMEOUT_ERROR)) {
generateException = companion.generateException(new TimeoutError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + TransactionInactiveError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_TRANSACTION_INACTIVE_ERROR)) {
generateException = companion.generateException(new TransactionInactiveError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + UnknownError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_UNKNOWN_ERROR)) {
generateException = companion.generateException(new UnknownError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + VersionError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_VERSION_ERROR)) {
generateException = companion.generateException(new VersionError(), str, getPublicKeyCredentialDomException);
} else {
if (Intrinsics.areEqual(type, "androidx.credentials.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/" + WrongDocumentError.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_WRONG_DOCUMENT_ERROR)) {
generateException = companion.generateException(new WrongDocumentError(), str, getPublicKeyCredentialDomException);
} else {
throw new FrameworkClassParsingException();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return (GetCredentialException) generateException;
} catch (FrameworkClassParsingException unused) {
return new GetCredentialCustomException(type, str);
}
}
}
}

View File

@@ -0,0 +1,71 @@
package androidx.credentials.exceptions.publickeycredential;
import androidx.annotation.RestrictTo;
import androidx.credentials.exceptions.GetCredentialCustomException;
import androidx.credentials.exceptions.GetCredentialException;
import androidx.credentials.internal.FrameworkClassParsingException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlin.text.StringsKt__StringsJVMKt;
@SourceDebugExtension({"SMAP\nGetPublicKeyCredentialException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 GetPublicKeyCredentialException.kt\nandroidx/credentials/exceptions/publickeycredential/GetPublicKeyCredentialException\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,67:1\n1#2:68\n*E\n"})
/* loaded from: classes.dex */
public class GetPublicKeyCredentialException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public GetPublicKeyCredentialException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static final GetCredentialException createFrom(String str, String str2) {
return Companion.createFrom(str, str2);
}
@Override // androidx.credentials.exceptions.GetCredentialException
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public String getType() {
return this.type;
}
public /* synthetic */ GetPublicKeyCredentialException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public GetPublicKeyCredentialException(String type, CharSequence charSequence) {
super(type, charSequence);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
if (getType().length() <= 0) {
throw new IllegalArgumentException("type must not be empty".toString());
}
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public final GetCredentialException createFrom(String type, String str) {
Intrinsics.checkNotNullParameter(type, "type");
try {
if (StringsKt__StringsJVMKt.startsWith$default(type, GetPublicKeyCredentialDomException.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION, false, 2, null)) {
return GetPublicKeyCredentialDomException.Companion.createFrom(type, str);
}
throw new FrameworkClassParsingException();
} catch (FrameworkClassParsingException unused) {
return new GetCredentialCustomException(type, str);
}
}
}
}

View File

@@ -0,0 +1,34 @@
package androidx.credentials.exceptions.restorecredential;
import androidx.credentials.exceptions.CreateCredentialException;
import androidx.credentials.exceptions.domerrors.DomError;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class CreateRestoreCredentialDomException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_CREATE_RESTORE_CREDENTIAL_DOM_EXCEPTION = "androidx.credentials.TYPE_CREATE_RESTORE_CREDENTIAL_DOM_EXCEPTION";
private final DomError domError;
public final DomError getDomError() {
return this.domError;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CreateRestoreCredentialDomException(DomError domError, CharSequence errorMessage) {
super("androidx.credentials.TYPE_CREATE_RESTORE_CREDENTIAL_DOM_EXCEPTION/" + domError.getType(), errorMessage);
Intrinsics.checkNotNullParameter(domError, "domError");
Intrinsics.checkNotNullParameter(errorMessage, "errorMessage");
this.domError = domError;
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,26 @@
package androidx.credentials.exceptions.restorecredential;
import androidx.credentials.exceptions.CreateCredentialException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class E2eeUnavailableException extends CreateCredentialException {
public static final Companion Companion = new Companion(null);
public static final String TYPE_E2EE_UNAVAILABLE_EXCEPTION = "androidx.credentials.TYPE_E2EE_UNAVAILABLE_EXCEPTION";
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public E2eeUnavailableException(CharSequence errorMessage) {
super(TYPE_E2EE_UNAVAILABLE_EXCEPTION, errorMessage);
Intrinsics.checkNotNullParameter(errorMessage, "errorMessage");
}
}