what-the-bank/sources/com/kofax/mobile/sdk/capture/extraction/ExceptionResponseImpl.java

50 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.capture.extraction;
import java.io.PrintWriter;
import java.io.StringWriter;
/* loaded from: classes3.dex */
public class ExceptionResponseImpl implements ExceptionResponse {
String acd;
String ace;
String acf;
String tC = "";
ExceptionResponse acg = null;
public ExceptionResponseImpl(Throwable th) {
this.acd = "";
this.ace = "";
this.acf = "";
this.acd = th.getMessage();
this.ace = th.getClass().getSimpleName();
StringWriter stringWriter = new StringWriter();
th.printStackTrace(new PrintWriter(stringWriter));
this.acf = stringWriter.toString();
}
@Override // com.kofax.mobile.sdk.capture.extraction.ExceptionResponse
public String stackTrace() {
return this.acf;
}
@Override // com.kofax.mobile.sdk.capture.extraction.ExceptionResponse
public String message() {
return this.tC;
}
@Override // com.kofax.mobile.sdk.capture.extraction.ExceptionResponse
public ExceptionResponse innerException() {
return this.acg;
}
@Override // com.kofax.mobile.sdk.capture.extraction.ExceptionResponse
public String exceptionType() {
return this.ace;
}
@Override // com.kofax.mobile.sdk.capture.extraction.ExceptionResponse
public String exceptionMessage() {
return this.acd;
}
}