Package javax.transaction

Examples of javax.transaction.HeuristicCommitException


      case ActionStatus.H_ROLLBACK:
        TransactionImple.removeTransaction(this);
       
        break;
      case ActionStatus.H_COMMIT:
        throw new HeuristicCommitException();
      case ActionStatus.H_HAZARD:
      case ActionStatus.H_MIXED:
        throw new HeuristicMixedException();
      default:
        throw new HeuristicMixedException();
View Full Code Here


                        int res = subAct.doCommit();

                        switch (res)
                        {
                        case ActionStatus.H_COMMIT:
                            throw new HeuristicCommitException();
                        case ActionStatus.COMMITTED:
                        case ActionStatus.COMMITTING:
                                break;
                        case ActionStatus.ABORTED:
                        case ActionStatus.ABORTING:
View Full Code Here

                        case ActionStatus.H_ROLLBACK:
                            throw new HeuristicRollbackException();
                        case ActionStatus.COMMITTED:
                        case ActionStatus.COMMITTING:
                        case ActionStatus.H_COMMIT:
                                throw new HeuristicCommitException();
                        case ActionStatus.H_HAZARD:
                        case ActionStatus.H_MIXED:
                                throw new HeuristicMixedException();
                        default:
                                throw new HeuristicMixedException();
View Full Code Here

/*     */       case 11:
/* 225 */         removeTransaction(this);
/*     */
/* 227 */         break;
/*     */       case 12:
/* 229 */         throw new HeuristicCommitException();
/*     */       case 13:
/*     */       case 14:
/* 232 */         throw new HeuristicMixedException();
/*     */       case 3:
/*     */       case 5:
View Full Code Here

                        int res = subAct.doCommit();

                        switch (res)
                        {
                        case ActionStatus.H_COMMIT:
                            throw new HeuristicCommitException();
                        case ActionStatus.COMMITTED:
                        case ActionStatus.COMMITTING:
                                break;
                        case ActionStatus.ABORTED:
                        case ActionStatus.ABORTING:
View Full Code Here

                        case ActionStatus.H_ROLLBACK:
                            throw new HeuristicRollbackException();
                        case ActionStatus.COMMITTED:
                        case ActionStatus.COMMITTING:
                        case ActionStatus.H_COMMIT:
                                throw new HeuristicCommitException();
                        case ActionStatus.H_HAZARD:
                        case ActionStatus.H_MIXED:
                                throw new HeuristicMixedException();
                        default:
                                throw new HeuristicMixedException();
View Full Code Here

      case ActionStatus.ABORTED:
      case ActionStatus.ABORTING:
      case ActionStatus.H_ROLLBACK:
        break;
      case ActionStatus.H_COMMIT:
        throw new HeuristicCommitException();
      case ActionStatus.H_HAZARD:
      case ActionStatus.H_MIXED:
        throw new HeuristicMixedException();
      default:     
        throw new HeuristicMixedException();
View Full Code Here

TOP

Related Classes of javax.transaction.HeuristicCommitException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.