package i.b.a;

import android.database.SQLException;

/* JADX INFO: compiled from: DaoException.java */
/* JADX INFO: loaded from: classes.dex */
public class d extends SQLException {
    public d(String str) {
        super(str);
    }

    protected void a(Throwable th) {
        try {
            initCause(th);
        } catch (Throwable th2) {
            e.b("Could not set initial cause", th2);
            e.b("Initial cause is:", th);
        }
    }

    public d(String str, Throwable th) {
        super(str);
        a(th);
    }
}
