Files
rr3-apk/decompiled/sources/kotlinx/coroutines/JobCancellationException.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

49 lines
1.6 KiB
Java

package kotlinx.coroutines;
import java.util.concurrent.CancellationException;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes5.dex */
public final class JobCancellationException extends CancellationException {
public final transient Job job;
public JobCancellationException(String str, Throwable th, Job job) {
super(str);
this.job = job;
if (th != null) {
initCause(th);
}
}
@Override // java.lang.Throwable
public Throwable fillInStackTrace() {
setStackTrace(new StackTraceElement[0]);
return this;
}
@Override // java.lang.Throwable
public String toString() {
return super.toString() + "; job=" + this.job;
}
public boolean equals(Object obj) {
if (obj != this) {
if (obj instanceof JobCancellationException) {
JobCancellationException jobCancellationException = (JobCancellationException) obj;
if (!Intrinsics.areEqual(jobCancellationException.getMessage(), getMessage()) || !Intrinsics.areEqual(jobCancellationException.job, this.job) || !Intrinsics.areEqual(jobCancellationException.getCause(), getCause())) {
}
}
return false;
}
return true;
}
public int hashCode() {
String message = getMessage();
Intrinsics.checkNotNull(message);
int hashCode = ((message.hashCode() * 31) + this.job.hashCode()) * 31;
Throwable cause = getCause();
return hashCode + (cause != null ? cause.hashCode() : 0);
}
}