public void preparedCommit() throws HeuristicRollbackException, HeuristicMixedException, SystemException { if (!resourceNames.isEmpty()) { throw new SystemException("This tx does not have all resource managers online, commit not allowed yet"); } super.preparedCommit(); }
public void preparedCommit() throws SystemException { if (!resourceNames.isEmpty()) { throw new SystemException("This tx does not have all resource managers online, commit not allowed yet"); } super.preparedCommit(); }
public void preparedCommit() throws HeuristicRollbackException, HeuristicMixedException, SystemException { if (!resourceNames.isEmpty()) { throw new SystemException("This tx does not have all resource managers online, commit not allowed yet"); } super.preparedCommit(); }
public void preparedCommit() throws HeuristicRollbackException, HeuristicMixedException, SystemException { if (!resourceNames.isEmpty()) { throw new SystemException("This tx does not have all resource managers online, commit not allowed yet"); } super.preparedCommit(); }
public void commit(Transaction tx, boolean onePhase) throws XAException { if (onePhase) { try { tx.commit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (RollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SecurityException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } else { try { ((TransactionImpl) tx).preparedCommit(); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } totalCommits.getAndIncrement(); }
public void commit(Transaction tx, boolean onePhase) throws XAException { if (onePhase) { try { tx.commit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (RollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SecurityException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } else { try { ((TransactionImpl) tx).preparedCommit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } totalCommits.getAndIncrement(); }
public void commit(Transaction tx, boolean onePhase) throws XAException { if (onePhase) { try { tx.commit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (RollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SecurityException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } else { try { ((TransactionImpl) tx).preparedCommit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } totalCommits.getAndIncrement(); }
public void commit(Transaction tx, boolean onePhase) throws XAException { if (onePhase) { try { tx.commit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (RollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SecurityException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } else { try { ((TransactionImpl) tx).preparedCommit(); } catch (HeuristicMixedException e) { throw (XAException) new XAException().initCause(e); } catch (HeuristicRollbackException e) { throw (XAException) new XAException().initCause(e); } catch (SystemException e) { throw (XAException) new XAException().initCause(e); } } totalCommits.getAndIncrement(); }