Examples of InactiveTransactionException


Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

          case ActionStatus.ABORTED:
          case ActionStatus.ABORTING: // in case of async rollback
              statusIsValid = true;
            break;
          default:
            throw new InactiveTransactionException(
                jtaLogger.logMesg.getString("com.arjuna.ats.internal.jta.transaction.arjunacore.rollbackstatus")
                    + ActionStatus.stringForm(outcome));
        }
      }
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

                /*
                 * throw new IllegalStateException(
                 * jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.subordinate.invalidstate"));
                 */

                throw new InactiveTransactionException();
        }
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

                /*
                 * throw new IllegalStateException(
                 * jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.subordinate.invalidstate"));
                 */

                throw new InactiveTransactionException();
        }
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

        _theTransaction.end(true);
      }
      catch (org.omg.CosTransactions.WrongTransaction wt)
      {
                InactiveTransactionException inactiveTransactionException = new InactiveTransactionException(
            jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.wrongstatetx"));
                inactiveTransactionException.initCause(wt);
                throw inactiveTransactionException;
      }
      catch (org.omg.CosTransactions.NoTransaction e1)
      {
                IllegalStateException illegalStateException = new IllegalStateException(jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.notx"));
                illegalStateException.initCause(e1);
                throw illegalStateException;
      }
      catch (org.omg.CosTransactions.HeuristicMixed e2)
      {
                HeuristicMixedException heuristicMixedException = new javax.transaction.HeuristicMixedException();
                heuristicMixedException.initCause(e2);
                throw heuristicMixedException;
      }
      catch (org.omg.CosTransactions.HeuristicHazard e3)
      {
                HeuristicMixedException heuristicMixedException = new javax.transaction.HeuristicMixedException();
                heuristicMixedException.initCause(e3);
                throw heuristicMixedException;
      }
      catch (TRANSACTION_ROLLEDBACK e4)
      {
                RollbackException rollbackException = new RollbackException(e4.toString());
                rollbackException.initCause(e4);
                throw rollbackException;
      }
      catch (org.omg.CORBA.NO_PERMISSION e5)
      {
        throw new SecurityException(e5);
      }
      catch (INVALID_TRANSACTION e6)
      {
        InactiveTransactionException inactiveTransactionException = new InactiveTransactionException(
            jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.invalidtx2"));
                inactiveTransactionException.initCause(e6);
                throw inactiveTransactionException;
      }
      catch (org.omg.CORBA.SystemException e7)
      {
                javax.transaction.SystemException systemException = new javax.transaction.SystemException(e7.toString());
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

      {
        _theTransaction.abort();
      }
      catch (org.omg.CosTransactions.WrongTransaction e1)
      {
                InactiveTransactionException inactiveTransactionException =new InactiveTransactionException(
            jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.wrongstatetx"));
                inactiveTransactionException.initCause(e1);
                throw inactiveTransactionException;
      }
      catch (org.omg.CORBA.NO_PERMISSION e2)
      {
        throw new SecurityException(e2);
      }
      catch (INVALID_TRANSACTION e3)
      {
                InactiveTransactionException inactiveTransactionException = new InactiveTransactionException(
            jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.invalidtx2"));
                inactiveTransactionException.initCause(e3);
                throw inactiveTransactionException;
      }
      catch (NoTransaction e4)
      {
        throw new IllegalStateException(
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

              case Status.STATUS_PREPARED:
                        throw new InvalidTerminationStateException(
                                jtaLogger.logMesg
                                .getString("com.arjuna.ats.internal.jta.transaction.arjunacore.invalidstate"));
                    default:
                        throw new InactiveTransactionException(
                                jtaLogger.logMesg
                                .getString("com.arjuna.ats.internal.jta.transaction.arjunacore.inactive"));
                    }
          }
          catch (org.omg.CORBA.SystemException e4)
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

                    case Status.STATUS_PREPARED:
                        throw new InvalidTerminationStateException(
                                jtaLogger.logMesg
                                .getString("com.arjuna.ats.internal.jta.transaction.arjunacore.invalidstate"));
                    default:
                        throw new InactiveTransactionException(
                                jtaLogger.logMesg
                                .getString("com.arjuna.ats.internal.jta.transaction.arjunacore.inactive"));
                    }
          }
          else
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

          case ActionStatus.ABORTED:
          case ActionStatus.ABORTING: // in case of async rollback
              statusIsValid = true;
            break;
          default:
            throw new InactiveTransactionException(
                jtaLogger.logMesg.getString("com.arjuna.ats.internal.jta.transaction.arjunacore.rollbackstatus")
                    + ActionStatus.stringForm(outcome));
        }
      }
View Full Code Here

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException

          case ActionStatus.ABORTED:
          case ActionStatus.ABORTING: // in case of async rollback
              statusIsValid = true;
            break;
          default:
            throw new InactiveTransactionException(
                jtaLogger.logMesg.getString("com.arjuna.ats.internal.jta.transaction.arjunacore.rollbackstatus")
                    + ActionStatus.stringForm(outcome));
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.