import android.os.AsyncTask;
import android.os.OperationCanceledException;
import androidx.annotation.NonNull;
import androidx.room.Transaction;
import android.os.AsyncTask;
import android.os.OperationCanceledException;
import androidx.annotation.NonNull;
import androidx.room.Transaction;
import net.ktnx.mobileledger.dao.AccountDAO;
import net.ktnx.mobileledger.dao.AccountValueDAO;
import net.ktnx.mobileledger.dao.TransactionAccountDAO;
import net.ktnx.mobileledger.dao.AccountDAO;
import net.ktnx.mobileledger.dao.AccountValueDAO;
import net.ktnx.mobileledger.dao.TransactionAccountDAO;
import net.ktnx.mobileledger.model.LedgerTransactionAccount;
import net.ktnx.mobileledger.ui.MainModel;
import net.ktnx.mobileledger.utils.Logger;
import net.ktnx.mobileledger.model.LedgerTransactionAccount;
import net.ktnx.mobileledger.ui.MainModel;
import net.ktnx.mobileledger.utils.Logger;
}
private List<LedgerAccount> retrieveAccountListForVersion(API version)
throws IOException, HTTPException {
}
private List<LedgerAccount> retrieveAccountListForVersion(API version)
throws IOException, HTTPException {
throw new HTTPException(http.getResponseCode(), http.getResponseMessage());
}
publishProgress(Progress.indeterminate());
throw new HTTPException(http.getResponseCode(), http.getResponseMessage());
}
publishProgress(Progress.indeterminate());
ArrayList<LedgerAccount> list = new ArrayList<>();
HashMap<String, LedgerAccount> map = new HashMap<>();
throwIfCancelled();
ArrayList<LedgerAccount> list = new ArrayList<>();
HashMap<String, LedgerAccount> map = new HashMap<>();
throwIfCancelled();
}
private List<LedgerTransaction> retrieveTransactionListForVersion(API apiVersion)
throws IOException, ParseException, HTTPException {
}
private List<LedgerTransaction> retrieveTransactionListForVersion(API apiVersion)
throws IOException, ParseException, HTTPException {
- return new Result(String.format("HTTP error %d: %s", e.getResponseCode(),
- e.getResponseMessage()));
+ return new Result(
+ String.format("HTTP error %d: %s", e.getResponseCode(), e.getMessage()));