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; }
4296429742984299430043014302
} } public void assertActiveTransaction() { if ((_flags & FLAG_ACTIVE) == 0) throw new NoTransactionException(_loc.get("not-active")); }
4316431743184319432043214322
} public void assertWriteOperation() { if ((_flags & FLAG_ACTIVE) == 0 && (!_nontransWrite || (_autoDetach & DETACH_NONTXREAD) != 0)) throw new NoTransactionException(_loc.get("write-operation")); }
728729730731732733734
/** * Throw an exception if no transaction is active. */ private void assertActiveTransaction() { if (!isActiveTransaction()) throw new NoTransactionException(_loc.get("not-active")); }
4697469846994700470147024703
4717471847194720472147224723
4399440044014402440344044405
4419442044214422442344244425
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")); }
4620462146224623462446254626