throw new Error("Couldn't obtain lockwrite on object");
throw new Error("Couldn't obtain lockwrite on object", e);
    protected static void doLockWriteOn(Object obj) {        if (lockMode) {            try {                net.sourceforge.fenixedu.persistenceTier.OJB.SuportePersistenteOJB.getInstance()                        .lockWrite(obj);            } catch (Exception e) {                throw new Error("Couldn't obtain lockwrite on object");            }        }    }