what-the-bank/sources/com/google/firebase/crashlytics/internal/stacktrace/TrimmedThrowableData.java

18 lines
761 B
Java

package com.google.firebase.crashlytics.internal.stacktrace;
/* loaded from: classes.dex */
public class TrimmedThrowableData {
public final TrimmedThrowableData cause;
public final String className;
public final String localizedMessage;
public final StackTraceElement[] stacktrace;
public TrimmedThrowableData(Throwable th, StackTraceTrimmingStrategy stackTraceTrimmingStrategy) {
this.localizedMessage = th.getLocalizedMessage();
this.className = th.getClass().getName();
this.stacktrace = stackTraceTrimmingStrategy.getTrimmedStackTrace(th.getStackTrace());
Throwable cause = th.getCause();
this.cause = cause != null ? new TrimmedThrowableData(cause, stackTraceTrimmingStrategy) : null;
}
}