mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
12 lines
347 B
Java
12 lines
347 B
Java
package io.sentry.util;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class ExceptionUtils {
|
|
public static Throwable findRootCause(Throwable th) {
|
|
Objects.requireNonNull(th, "throwable cannot be null");
|
|
while (th.getCause() != null && th.getCause() != th) {
|
|
th = th.getCause();
|
|
}
|
|
return th;
|
|
}
|
|
}
|