package h.a;

import java.util.concurrent.CancellationException;

/* JADX INFO: compiled from: Exceptions.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public final class s0 extends CancellationException {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final r0 f4328b;

    public s0(String str, Throwable th, r0 r0Var) {
        super(str);
        this.f4328b = r0Var;
        if (th != null) {
            initCause(th);
        }
    }

    public boolean equals(Object obj) {
        if (obj != this) {
            if (obj instanceof s0) {
                s0 s0Var = (s0) obj;
                if (!g.h0.c.l.a(s0Var.getMessage(), getMessage()) || !g.h0.c.l.a(s0Var.f4328b, this.f4328b) || !g.h0.c.l.a(s0Var.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();
        g.h0.c.l.c(message);
        int iHashCode = (this.f4328b.hashCode() + (message.hashCode() * 31)) * 31;
        Throwable cause = getCause();
        return iHashCode + (cause == null ? 0 : cause.hashCode());
    }

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