294295296297298299300301302303304
throws NoTransaction { Thread current = Thread.currentThread(); if (! contexts.containsKey(current)) throw new NoTransaction(); try { Control control = (Control) contexts.get(current); control.get_coordinator().rollback_only(); control._release();
305306307308309310311
throw new INVALID_TRANSACTION(); } } else throw new NoTransaction(); }
367368369370371372373
402403404405406407408409410411412
{ throw e; } catch (Unavailable ex) { throw new NoTransaction(); } } else throw new NoTransaction(); }
287288289290291292293294295296297
synchronized (_theStatus) { if (_theAction == null) { throw new NoTransaction(); } } if (!validTransaction()) {
382383384385386387388389390391392
622623624625626627628629630631632633634635636637638639640
public Control control () throws NoTransaction, SystemException { if (_theAction == null) { throw new NoTransaction(); } else { try { return _theAction.get_control(); } catch (Unavailable ex) { throw new NoTransaction(); } } }
694695696697698699700701702703704
} synchronized (_theStatus) { if (_theAction != null) throw new NoTransaction(); } if (!validTransaction()) { throw new WrongTransaction();
764765766767768769770771772773
} synchronized (_theStatus) { if (_theAction == null) throw new NoTransaction(); } _theAction.preventCommit(); }