34 lines
1012 B
Java
34 lines
1012 B
Java
|
package com.kofax.mobile.sdk.f;
|
||
|
|
||
|
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsEventIDType;
|
||
|
import com.kofax.kmc.kut.utilities.error.ErrorInfo;
|
||
|
import com.kofax.kmc.kut.utilities.error.IllegalArgumentException;
|
||
|
import com.kofax.mobile.sdk._internal.IBus;
|
||
|
import com.kofax.mobile.sdk._internal.impl.event.w;
|
||
|
import o.InterfaceC13006fNs;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class f {
|
||
|
private IBus _bus;
|
||
|
private com.kofax.mobile.sdk.g.j xh = new com.kofax.mobile.sdk.g.j();
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public f(IBus iBus) {
|
||
|
if (iBus == null) {
|
||
|
throw new IllegalArgumentException("bus cannot be null");
|
||
|
}
|
||
|
this._bus = iBus;
|
||
|
iBus.register(this);
|
||
|
}
|
||
|
|
||
|
@InterfaceC13006fNs
|
||
|
public void a(w wVar) {
|
||
|
ErrorInfo errorInfo = wVar.errorInfo;
|
||
|
if (wVar.IA != null) {
|
||
|
errorInfo.setErrCause(wVar.IA);
|
||
|
}
|
||
|
this.xh.a(AppStatsEventIDType.APP_STATS_ERROR_LOG_EVENT, errorInfo);
|
||
|
}
|
||
|
}
|