package androidx.credentials.exceptions;

import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.rtsp.SessionDescription;
import defpackage.cr4;
import defpackage.kp6;
import defpackage.pq6;
import defpackage.s15;
import defpackage.uz1;
import defpackage.vx8;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\r\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u001b\b\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\b¨\u0006\t"}, d2 = {"Landroidx/credentials/exceptions/CreateCredentialCustomException;", "Landroidx/credentials/exceptions/CreateCredentialException;", SessionDescription.ATTR_TYPE, "", "errorMessage", "", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "getType", "()Ljava/lang/String;", "credentials_release"}, k = 1, mv = {1, 8, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vx8
public final class CreateCredentialCustomException extends CreateCredentialException {

    @kp6
    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 */
    @s15
    public CreateCredentialCustomException(@kp6 String str) {
        this(str, null, 2, 0 == true ? 1 : 0);
        cr4.g(str, SessionDescription.ATTR_TYPE);
    }

    @Override // androidx.credentials.exceptions.CreateCredentialException
    @kp6
    public String getType() {
        return this.type;
    }

    public /* synthetic */ CreateCredentialCustomException(String str, CharSequence charSequence, int i, uz1 uz1Var) {
        this(str, (i & 2) != 0 ? null : charSequence);
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    @s15
    public CreateCredentialCustomException(@kp6 String str, @pq6 CharSequence charSequence) {
        super(str, charSequence);
        cr4.g(str, SessionDescription.ATTR_TYPE);
        this.type = str;
        if (getType().length() <= 0) {
            throw new IllegalArgumentException("type must not be empty");
        }
    }
}
