Rabbit-R1/switch port/java/sources/io/sentry/util/ExceptionUtils.java
2024-05-21 17:08:36 -04:00

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;
}
}