4365436643674368436943704371
} } public void assertActiveTransaction() { if ((_flags & FLAG_ACTIVE) == 0) throw new NoTransactionException(_loc.get("not-active")); }
4385438643874388438943904391
} public void assertWriteOperation() { if ((_flags & FLAG_ACTIVE) == 0 && (!_nontransWrite || (_autoDetach & DETACH_NONTXREAD) != 0)) throw new NoTransactionException(_loc.get("write-operation")); }
429430431432433434435
/** * 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")); }
4527452845294530453145324533
4547454845494550455145524553
105106107108109110111112113114
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; }
637638639640641642643
/** * Throw an exception if no transaction is active. */ private void assertActiveTransaction() { if (!isActiveTransaction()) throw new NoTransactionException(_loc.get("not-active")); }
4689469046914692469346944695
4709471047114712471347144715
639640641642643644645