package p025.p026.p029;

import java.util.concurrent.CancellationException;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.p405.InterfaceC6578;

/* JADX INFO: renamed from: އ.֏.ၷ.ށ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C1405<E> extends C1409<E> implements InterfaceC1406<E> {
    public C1405(InterfaceC6578 interfaceC6578, InterfaceC1407<E> interfaceC1407, boolean z) {
        super(interfaceC6578, interfaceC1407, z);
    }

    @Override // p025.p026.C1368
    /* JADX INFO: renamed from: ރ */
    public boolean mo2712(Throwable th) {
        C4303.m7111(this.f4439, th);
        return true;
    }

    @Override // p025.p026.C1368
    /* JADX INFO: renamed from: ޅ */
    public void mo2714(Throwable th) {
        InterfaceC1407<E> interfaceC1407 = this.f4574;
        CancellationException cancellationException = null;
        if (th != null) {
            cancellationException = (CancellationException) (th instanceof CancellationException ? th : null);
            if (cancellationException == null) {
                CancellationException cancellationException2 = new CancellationException(getClass().getSimpleName() + " was cancelled");
                cancellationException2.initCause(th);
                cancellationException = cancellationException2;
            }
        }
        interfaceC1407.mo2730(cancellationException);
    }
}
