Package com.arjuna.ats.jta.exceptions

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


      {
        TransactionImple.removeTransaction(this);
      }

      if (endSuspendedFailed)
        throw new InvalidTerminationStateException (
            jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.endsuspendfailed2"));
    }
    else
      throw new IllegalStateException(
          jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.inactivetx"));
View Full Code Here


        //throw new IllegalStateException(
        //    jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.invalidtx2"));
      }
      catch (org.omg.CORBA.SystemException e7)
      {
        throw new InvalidTerminationStateException();
      }
      finally
      {
        TransactionImple.removeTransaction(this);
      }
View Full Code Here

   */

  public void rollback () throws java.lang.IllegalStateException,
      java.lang.SecurityException, javax.transaction.SystemException
  {
    throw new InvalidTerminationStateException(
        jtaLogger.logMesg.getString("com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.invalidstate"));
  }
View Full Code Here

      case ActionStatus.H_MIXED:
      case ActionStatus.H_ROLLBACK:
      default:
        throw new javax.transaction.HeuristicMixedException();
      case ActionStatus.INVALID:
        throw new InvalidTerminationStateException();
      }
    }
    catch (ClassCastException ex)
    {
      ex.printStackTrace();
View Full Code Here

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

    throw new InvalidTerminationStateException();
  }
View Full Code Here

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

    throw new InvalidTerminationStateException();
  }
View Full Code Here

                            // we tried to commit but it went wrong - attach the reason for debug:
              rollbackException.initCause(_theTransaction.getDeferredThrowable());
            }
            throw rollbackException;
          default:
            throw new InvalidTerminationStateException(
                jtaLogger.logMesg.getString("com.arjuna.ats.internal.jta.transaction.arjunacore.invalidstate"));
        }
      }
      else
        throw new IllegalStateException(
View Full Code Here

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

                throw new InvalidTerminationStateException();
        }
View Full Code Here

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

                throw new InvalidTerminationStateException();
        }
View Full Code Here

                        case ActionStatus.H_HAZARD:
                        case ActionStatus.H_MIXED:
                        default:
                                throw new javax.transaction.HeuristicMixedException();
                        case ActionStatus.INVALID:
                                throw new InvalidTerminationStateException();
                        }
                }
                catch (ClassCastException ex)
                {
                        ex.printStackTrace();
View Full Code Here

TOP

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

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.