what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzmb.java

35 lines
1.0 KiB
Java

package com.google.android.gms.internal.firebase_ml;
import java.util.List;
/* loaded from: classes2.dex */
final class zzmb extends zzly {
private final zzlz zzadv = new zzlz();
@Override // com.google.android.gms.internal.firebase_ml.zzly
public final void zza(Throwable th, Throwable th2) {
if (th2 == th) {
throw new IllegalArgumentException("Self suppression is not allowed.", th2);
}
if (th2 == null) {
throw new NullPointerException("The suppressed exception cannot be null.");
}
this.zzadv.zza(th, true).add(th2);
}
@Override // com.google.android.gms.internal.firebase_ml.zzly
public final void zzb(Throwable th) {
th.printStackTrace();
List<Throwable> zza = this.zzadv.zza(th, false);
if (zza == null) {
return;
}
synchronized (zza) {
for (Throwable th2 : zza) {
System.err.print("Suppressed: ");
th2.printStackTrace();
}
}
}
}