package kotlinx.coroutines;

import java.util.concurrent.CancellationException;
import p025.p026.InterfaceC1363;
import p402.InterfaceC6540;
import p402.p411.p413.C6635;

/* JADX WARN: Unexpected interfaces in signature: [java.lang.Object<kotlinx.coroutines.JobCancellationException>] */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class JobCancellationException extends CancellationException {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final InterfaceC1363 f2180;

    public JobCancellationException(String str, Throwable th, InterfaceC1363 interfaceC1363) {
        super(str);
        this.f2180 = interfaceC1363;
        if (th != null) {
            initCause(th);
        }
    }

    public boolean equals(Object obj) {
        if (obj != this) {
            if (obj instanceof JobCancellationException) {
                JobCancellationException jobCancellationException = (JobCancellationException) obj;
                if (!C6635.m9825((Object) jobCancellationException.getMessage(), (Object) getMessage()) || !C6635.m9825(jobCancellationException.f2180, this.f2180) || !C6635.m9825(jobCancellationException.getCause(), getCause())) {
                }
            }
            return false;
        }
        return true;
    }

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

    public int hashCode() {
        String message = getMessage();
        if (message == null) {
            C6635.m9822();
            throw null;
        }
        int iHashCode = (this.f2180.hashCode() + (message.hashCode() * 31)) * 31;
        Throwable cause = getCause();
        return iHashCode + (cause != null ? cause.hashCode() : 0);
    }

    @Override // java.lang.Throwable
    public String toString() {
        return super.toString() + "; job=" + this.f2180;
    }
}
