if (m_temp == null) { m_ssn.getProtoSession().delete(this); } else { throw new Error("deleting a new object"); }
m_ssn.delete(this);
    public void delete() {        if (m_temp == null) {            m_ssn.getProtoSession().delete(this);        } else {            throw new Error("deleting a new object");        }    }