428429430431432433434
/** * Throw an exception if no transaction is active. */ private void assertActiveTransaction() { if (_state.ctx != null && !_state.ctx.isActive()) throw new NoTransactionException(_loc.get("not-active")); }
4305430643074308430943104311
} } public void assertActiveTransaction() { if ((_flags & FLAG_ACTIVE) == 0) throw new NoTransactionException(_loc.get("not-active")); }
4325432643274328432943304331
} public void assertWriteOperation() { if ((_flags & FLAG_ACTIVE) == 0 && (!_nontransWrite || (_autoDetach & DETACH_NONTXREAD) != 0)) throw new NoTransactionException(_loc.get("write-operation")); }
4304430543064307430843094310
4324432543264327432843294330
4502450345044505450645074508
4522452345244525452645274528
564565566567568569570
/** * Throw an exception if no transaction is active. */ private void assertActiveTransaction() { if (!isActiveTransaction()) throw new NoTransactionException(_loc.get("not-active")); }
4558455945604561456245634564
4578457945804581458245834584