Rabbit-R1/android (non root)/java/sources/io/sentry/util/ExceptionUtils.java

13 lines
347 B
Java
Raw Permalink Normal View History

2024-05-21 21:08:36 +00:00
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;
}
}