Package com.arjuna.ats.jta.exceptions

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


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


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

          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

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

                throw new InactiveTransactionException();
        }
View Full Code Here

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

                throw new InactiveTransactionException();
        }
View Full Code Here

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

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

          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

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

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

TOP

Related Classes of com.arjuna.ats.jta.exceptions.InactiveTransactionException

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.