public void rollback(Xid xid) throws HeuristicMixedException, HeuristicCommitException, IllegalStateException, SystemException { try { this.terminator.rollback(xid); } catch (XAException xaex) { switch (xaex.errorCode) { case XAException.XA_HEURRB: break; case XAException.XA_HEURMIX: throw new HeuristicMixedException(); case XAException.XA_HEURCOM: throw new HeuristicCommitException(); default: logger.error("Unknown state in rollingback transaction phase.", xaex); throw new SystemException(); } } catch (RuntimeException rex) { logger.error("Unknown state in rollingback transaction phase.", rex); throw new SystemException(); } }
public void rollback(Xid xid) throws HeuristicMixedException, HeuristicCommitException, IllegalStateException, SystemException { try { this.terminator.rollback(xid); } catch (XAException xaex) { switch (xaex.errorCode) { case XAException.XA_HEURRB: break; case XAException.XA_HEURMIX: throw new HeuristicMixedException(); case XAException.XA_HEURCOM: throw new HeuristicCommitException(); default: logger.error("Unknown state in rollingback transaction phase.", xaex); throw new SystemException(); } } catch (RuntimeException rex) { logger.error("Unknown state in rollingback transaction phase.", rex); throw new SystemException(); } }
public void rollback(Xid xid) throws HeuristicMixedException, HeuristicCommitException, IllegalStateException, SystemException { try { this.terminator.rollback(xid); } catch (XAException xaex) { switch (xaex.errorCode) { case XAException.XA_HEURRB: break; case XAException.XA_HEURMIX: throw new HeuristicMixedException(); case XAException.XA_HEURCOM: throw new HeuristicCommitException(); default: logger.error("Unknown state in rollingback transaction phase.", xaex); throw new SystemException(); } } catch (RuntimeException rex) { logger.error("Unknown state in rollingback transaction phase.", rex); throw new SystemException(); } }
throw new SystemException(); } else if (committedExists) { throw new HeuristicCommitException();
throw new SystemException(); } else if (committedExists) { throw new HeuristicCommitException();
throw new SystemException(); } else if (committedExists) { throw new HeuristicCommitException();
throw new SystemException(); } else if (committedExists) { throw new HeuristicCommitException();
throw new SystemException(); } else if (committedExists) { throw new HeuristicCommitException();
throw new SystemException(); } else if (committedExists) { throw new HeuristicCommitException();
throw new HeuristicCommitException(); case ActionStatus.COMMITTED: case ActionStatus.COMMITTING:
throw new HeuristicCommitException(); case ActionStatus.COMMITTED: break;
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
throw new HeuristicRollbackException(); case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
case ActionStatus.COMMITTING: case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED:
case ActionStatus.COMMITTING: case ActionStatus.H_COMMIT: throw new HeuristicCommitException(); case ActionStatus.H_HAZARD: case ActionStatus.H_MIXED: