} catch (DBException e) { LOG.warn("db error while removing document", e);
                    public Object start() {                        try {                            Value ref = new NodeRef(doc.getDocId());                            IndexQuery query =                                new IndexQuery(IndexQuery.TRUNC_RIGHT, ref);                            domDb.remove(transaction, query, null);                        } catch (BTreeException e) {                            LOG.warn("btree error while removing document", e);                        } catch (DBException e) {                            LOG.warn("db error while removing document", e);                        } catch (IOException e) {                            LOG.warn("io error while removing document", e);                        } catch (TerminatedException e) {                            LOG.warn("method terminated", e);                        }                        return null;                    }