4640464146424643464446454646
} public void assertWriteOperation() { if ((_flags & FLAG_ACTIVE) == 0 && (!_nontransWrite || (_autoDetach & DETACH_NONTXREAD) != 0)) throw new NoTransactionException(_loc.get("write-operation")); }
639640641642643644645
/** * Throw an exception if no transaction is active. */ private void assertActiveTransaction() { if (!isActiveTransaction()) throw new NoTransactionException(_loc.get("not-active")); }
4653465446554656465746584659
} } public void assertActiveTransaction() { if ((_flags & FLAG_ACTIVE) == 0) throw new NoTransactionException(_loc.get("not-active")); }
4673467446754676467746784679
728729730731732733734
106107108109110111112113114115
rval = Status.STATUS_ACTIVE; } else { rval = Status.STATUS_NO_TRANSACTION; } } catch (Exception e) { throw new NoTransactionException(_loc .get("was-transaction-id-exception")).setCause(e); } return rval; }
4721472247234724472547264727
4741474247434744474547464747
4581458245834584458545864587