throw ServiceException.FAILURE("writing new folder data for item [" + itemIDs + ']', e);
throw ServiceException.FAILURE("writing new folder data for item " + item.getId(), e);
    public static void setFolder(MailItem.Array itemIDs, Folder folder) throws ServiceException {        Mailbox mbox = folder.getMailbox();        Connection conn = mbox.getOperationConnection();        PreparedStatement stmt = null;        try {            stmt = conn.prepareStatement("UPDATE " + getMailItemTableName(folder) +                    " SET folder_id = ?, mod_metadata = ? WHERE id IN " + suitableNumberOfVariables(itemIDs));            stmt.setInt(1, folder.getId());            stmt.setInt(2, mbox.getOperationChangeID());            for (int i = 0; i < itemIDs.length; i++)                stmt.setInt(i + 3, itemIDs.array[i]);            stmt.executeUpdate();        } catch (SQLException e) {            throw ServiceException.FAILURE("writing new folder data for item [" + itemIDs + ']', e);        } finally {            DbPool.closeStatement(stmt);        }    }