444445446447448449450451452453454
catch (Exception exception) { System.err.println("Element.get_value: " + exception); if (atomicTransaction.get_status() == Status.StatusActive) { atomicTransaction.rollback(); } throw new InvocationException(Reason.ReasonUnknown); } }
479480481482483484485486487488489
_value = value; atomicTransaction.commit(true); } else { atomicTransaction.rollback(); throw new InvocationException(Reason.ReasonConcurrencyControl); } } catch (InvocationException invocationException)
493494495496497498499500501502503
catch (Exception exception) { System.err.println("Element.set_value: " + exception); if (atomicTransaction.get_status() == Status.StatusActive) { atomicTransaction.rollback(); } throw new InvocationException(Reason.ReasonUnknown); } }
367368369370371372373374375376377
atomicTransaction.commit(true); } else { System.err.println("Element.Element: failed to get lock"); atomicTransaction.rollback(); throw new InvocationException(Reason.ReasonConcurrencyControl); } } catch (InvocationException invocationException)
9293949596979899100101102
atomicTransaction.commit(true); } else { System.err.println("CounterImpl0001.CounterImpl001: failed to get lock"); atomicTransaction.rollback(); throw new InvocationException(); } } catch (InvocationException invocationException)
147148149150151152153154155156157
value.value = _value; atomicTransaction.commit(true); } else { atomicTransaction.rollback(); throw new InvocationException(); } } catch (InvocationException invocationException)
161162163164165166167168169170171
catch (Exception exception) { System.err.println("CounterImpl0001.get: " + exception); if (atomicTransaction.get_status() == Status.StatusActive) { atomicTransaction.rollback(); } throw new InvocationException(); } }
196197198199200201202203204205206
_value = value; atomicTransaction.commit(true); } else { atomicTransaction.rollback(); throw new InvocationException(); } } catch (InvocationException invocationException)
210211212213214215216217218219220
catch (Exception exception) { System.err.println("CounterImpl0001.set: " + exception); if (atomicTransaction.get_status() == Status.StatusActive) { atomicTransaction.rollback(); } throw new InvocationException(); } }
245246247248249250251252253254255
_value++; atomicTransaction.commit(true); } else { atomicTransaction.rollback(); throw new InvocationException(); } } catch (InvocationException invocationException)