package kotlinx.coroutines;

import defpackage.C2374;
import defpackage.C3752;
import defpackage.InterfaceC4645;
import java.util.concurrent.CancellationException;

/* JADX INFO: loaded from: classes3.dex */
public final class JobCancellationException extends CancellationException {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final transient InterfaceC4645 f1144;

    public JobCancellationException(String str, Throwable th, C2374 c2374) {
        super(str);
        this.f1144 = c2374;
        if (th != null) {
            initCause(th);
        }
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JobCancellationException)) {
            return false;
        }
        JobCancellationException jobCancellationException = (JobCancellationException) obj;
        if (!ᵥˈᵛ.ˊᵫᵗ(jobCancellationException.getMessage(), getMessage())) {
            return false;
        }
        Object obj2 = jobCancellationException.f1144;
        if (obj2 == null) {
            obj2 = C3752.f14260;
        }
        Object obj3 = this.f1144;
        if (obj3 == null) {
            obj3 = C3752.f14260;
        }
        return obj2.equals(obj3) && ᵥˈᵛ.ˊᵫᵗ(jobCancellationException.getCause(), getCause());
    }

    @Override // java.lang.Throwable
    public final Throwable fillInStackTrace() {
        setStackTrace(new StackTraceElement[0]);
        return this;
    }

    public final int hashCode() {
        int iHashCode = getMessage().hashCode() * 31;
        Object obj = this.f1144;
        if (obj == null) {
            obj = C3752.f14260;
        }
        int iHashCode2 = (obj.hashCode() + iHashCode) * 31;
        Throwable cause = getCause();
        return iHashCode2 + (cause != null ? cause.hashCode() : 0);
    }

    @Override // java.lang.Throwable
    public final String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append("; job=");
        Object obj = this.f1144;
        if (obj == null) {
            obj = C3752.f14260;
        }
        sb.append(obj);
        return sb.toString();
    }
}
