deleteDomainObject(); } else { throw new DomainException("guide.entry.cannot.be.deleted"); }
Guide guide = getGuide(); removeGuide(); guide.updateTotalValue();  removeRootDomainObject();  deleteDomainObject(); } else { throw new DomainException("guide.entry.cannot.be.deleted"); }
    public void delete() {        if (canBeDeleted()) {            if (hasPaymentTransaction()) {                getPaymentTransaction().delete();            }                        Guide guide = getGuide();            removeGuide();            guide.updateTotalValue();                        removeRootDomainObject();            deleteDomainObject();        } else {            throw new DomainException("guide.entry.cannot.be.deleted");        }    }