Package com.arjuna.ats.jta.exceptions

Examples of com.arjuna.ats.jta.exceptions.InactiveTransactionException.initCause()


      }
      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"));
View Full Code Here


      }
      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

      }
      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);
View Full Code Here

      }
      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

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.