Package org.omg.CORBA

Examples of org.omg.CORBA.TRANSACTION_ROLLEDBACK


              + Utility.stringStatus(currentStatus));
        }

        if (currentStatus == Status.StatusMarkedRollback)
        {
          throw new TRANSACTION_ROLLEDBACK(
              ExceptionCodes.MARKED_ROLLEDBACK,
              CompletionStatus.COMPLETED_NO);
        }
        else
          throw new Inactive();
View Full Code Here


    case ActionStatus.COMMITTING: // in case asynchronous commit!
      return;
    case ActionStatus.ABORTED:
    case ActionStatus.ABORTING:  // in case of asynchronous abort!
    case ActionStatus.H_ROLLBACK:
      throw new TRANSACTION_ROLLEDBACK(ExceptionCodes.FAILED_TO_COMMIT,
          CompletionStatus.COMPLETED_NO);
    case ActionStatus.H_MIXED:
      throw new HeuristicMixed();
    case ActionStatus.H_HAZARD:
    default:
View Full Code Here

            + Utility.stringStatus(currentStatus));
      }

      if (currentStatus == Status.StatusMarkedRollback)
      {
        throw new TRANSACTION_ROLLEDBACK(
            ExceptionCodes.MARKED_ROLLEDBACK,
            CompletionStatus.COMPLETED_NO);
      }
      else
        throw new Inactive();
View Full Code Here

    if (currentStatus != Status.StatusActive)
    {
      if (currentStatus == Status.StatusMarkedRollback)
      {
        throw new TRANSACTION_ROLLEDBACK(
            ExceptionCodes.MARKED_ROLLEDBACK,
            CompletionStatus.COMPLETED_NO);
      }
      else
        throw new Inactive();
View Full Code Here

              + Utility.stringStatus(currentStatus));
        }

        if (currentStatus == Status.StatusMarkedRollback)
        {
          throw new TRANSACTION_ROLLEDBACK(
              ExceptionCodes.MARKED_ROLLEDBACK,
              CompletionStatus.COMPLETED_NO);
        }
        else
          throw new Inactive();
View Full Code Here

            mappedException = new MARSHAL(MAPEXCEPTION_CODE,
                CompletionStatus.COMPLETED_MAYBE);
        } else if ( exception instanceof javax.transaction.TransactionRolledbackException
            || exception instanceof TransactionRolledbackLocalException )
        {
            mappedException = new TRANSACTION_ROLLEDBACK(MAPEXCEPTION_CODE,
                CompletionStatus.COMPLETED_MAYBE);
        } else if ( exception instanceof javax.transaction.TransactionRequiredException
            || exception instanceof TransactionRequiredLocalException )
        {
            mappedException = new TRANSACTION_REQUIRED(MAPEXCEPTION_CODE,
View Full Code Here

    case ActionStatus.COMMITTING: // in case asynchronous commit!
      return;
    case ActionStatus.ABORTED:
    case ActionStatus.ABORTING:  // in case of asynchronous abort!
    case ActionStatus.H_ROLLBACK:
      throw new TRANSACTION_ROLLEDBACK(ExceptionCodes.FAILED_TO_COMMIT,
          CompletionStatus.COMPLETED_NO);
    case ActionStatus.H_MIXED:
      throw new HeuristicMixed();
    case ActionStatus.H_HAZARD:
    default:
View Full Code Here

            + Utility.stringStatus(currentStatus));
      }

      if (currentStatus == Status.StatusMarkedRollback)
      {
        throw new TRANSACTION_ROLLEDBACK(
            ExceptionCodes.MARKED_ROLLEDBACK,
            CompletionStatus.COMPLETED_NO);
      }
      else
        throw new Inactive();
View Full Code Here

    if (currentStatus != Status.StatusActive)
    {
      if (currentStatus == Status.StatusMarkedRollback)
      {
        throw new TRANSACTION_ROLLEDBACK(
            ExceptionCodes.MARKED_ROLLEDBACK,
            CompletionStatus.COMPLETED_NO);
      }
      else
        throw new Inactive();
View Full Code Here

              + Utility.stringStatus(currentStatus));
        }

        if (currentStatus == Status.StatusMarkedRollback)
        {
          throw new TRANSACTION_ROLLEDBACK(
              ExceptionCodes.MARKED_ROLLEDBACK,
              CompletionStatus.COMPLETED_NO);
        }
        else
          throw new Inactive();
View Full Code Here

TOP

Related Classes of org.omg.CORBA.TRANSACTION_ROLLEDBACK

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.