Rabbit-R1/android (non root)/java/sources/kotlinx/coroutines/TimeoutCancellationException.java
2024-05-21 17:08:36 -04:00

31 lines
2 KiB
Java

package kotlinx.coroutines;
import java.util.concurrent.CancellationException;
import kotlin.Metadata;
/* compiled from: Timeout.kt */
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00060\u0001j\u0002`\u00022\b\u0012\u0004\u0012\u00020\u00000\u0003B\u000f\b\u0010\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006B\u0019\b\u0000\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\\u0006\u0002\u0010\tJ\b\u0010\n\u001a\u00020\u0000H\u0016R\u0012\u0010\u0007\u001a\u0004\u0018\u00010\b8\u0000X\u0081\u0004¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlinx/coroutines/TimeoutCancellationException;", "Ljava/util/concurrent/CancellationException;", "Lkotlinx/coroutines/CancellationException;", "Lkotlinx/coroutines/CopyableThrowable;", "message", "", "(Ljava/lang/String;)V", "coroutine", "Lkotlinx/coroutines/Job;", "(Ljava/lang/String;Lkotlinx/coroutines/Job;)V", "createCopy", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes3.dex */
public final class TimeoutCancellationException extends CancellationException implements CopyableThrowable<TimeoutCancellationException> {
public final transient Job coroutine;
public TimeoutCancellationException(String str, Job job) {
super(str);
this.coroutine = job;
}
public TimeoutCancellationException(String str) {
this(str, null);
}
@Override // kotlinx.coroutines.CopyableThrowable
public TimeoutCancellationException createCopy() {
String message = getMessage();
if (message == null) {
message = "";
}
TimeoutCancellationException timeoutCancellationException = new TimeoutCancellationException(message, this.coroutine);
timeoutCancellationException.initCause(this);
return timeoutCancellationException;
}
}