private void handleSQLiteFullException(final SQLiteFullException sqLiteFullException) { final int id = model.getId(); if (FileDownloadLog.NEED_LOG) { FileDownloadLog.d(this, "the data of the task[%d] is dirty, because the SQLite " + "full exception[%s], so remove it from the database directly.", id, sqLiteFullException.toString()); } model.setErrMsg(sqLiteFullException.toString()); model.setStatus(FileDownloadStatus.error); database.remove(id); database.removeConnections(id); }