Examples of INVALID_TRANSACTION


Examples of org.omg.CORBA.INVALID_TRANSACTION

      throw new InterpositionFailed();
    }

    if ((ctx == null) || (ctx.current.coord == null)) // invalid
      throw new INVALID_TRANSACTION(ExceptionCodes.INVALID_ACTION,
          CompletionStatus.COMPLETED_NO);

    _inUse = true;

    TransactionFactoryImple _localFactory = OTSImpleManager.factory();
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

  // already begun?

  if (_originalTransaction != null)
  {
      throw new INVALID_TRANSACTION();
  }

  CurrentImple current = OTSImpleManager.current();

  _originalTransaction = current.suspend();
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

    synchronized (_theStatus)
    {
      if (_theAction != null)
      {
        throw new INVALID_TRANSACTION(ExceptionCodes.ALREADY_BEGUN,
            CompletionStatus.COMPLETED_NO);
      }

            current.begin();
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

      if (jtsLogger.logger.isDebugEnabled())
      {
        jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ControlWrapper::create_subtransaction - subtransaction parent is inactive.");
      }

      throw new INVALID_TRANSACTION(
          ExceptionCodes.UNAVAILABLE_COORDINATOR,
          CompletionStatus.COMPLETED_NO);
    }
  }
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

      {
        currentAction = currentAction.create_subtransaction();
      }
      catch (Unavailable ex)
      {
        throw new INVALID_TRANSACTION(
            ExceptionCodes.UNAVAILABLE_COORDINATOR,
            CompletionStatus.COMPLETED_NO);
      }
      catch (Inactive e)
      {
        throw new INVALID_TRANSACTION(
            ExceptionCodes.INACTIVE_TRANSACTION,
            CompletionStatus.COMPLETED_NO);
      }
      catch (NO_MEMORY nme)
      {
        System.gc();

        throw nme;
      }
      catch (SystemException sysEx)
      {
        throw new INVALID_TRANSACTION(
            ExceptionCodes.INACTIVE_TRANSACTION,
            CompletionStatus.COMPLETED_NO);
      }
      catch (OutOfMemoryError me)
      {
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

         * will no longer be valid.
         */

        _theManager.popAction();

        throw new INVALID_TRANSACTION();
      }
    }
    else
      throw new NoTransaction();
  }
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

         * If no terminator then not allowed!
         */

        _theManager.popAction();

        throw new INVALID_TRANSACTION();
      }
    }
    else
      throw new NoTransaction();
  }
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

      {
        currentAction.rollback_only();
      }
      catch (org.omg.CosTransactions.Inactive exc)
      {
        throw new INVALID_TRANSACTION(
            ExceptionCodes.INACTIVE_TRANSACTION,
            CompletionStatus.COMPLETED_NO);
      }
      catch (SystemException e)
      {
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

      {
    jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.nullcontrol_1",
                new Object[] {"ServerNestedAction.commit_subtransaction"});
      }

      throw new INVALID_TRANSACTION(ExceptionCodes.SERVERAA_NO_CONTROL, CompletionStatus.COMPLETED_NO);
  }

  if (_theControl.isWrapper())
  {
      destroyResource();
View Full Code Here

Examples of org.omg.CORBA.INVALID_TRANSACTION

      {
    jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.nullcontrol_2",
            new Object[] {"ServerNestedAction.rollback_subtransaction"});
      }

      throw new INVALID_TRANSACTION(ExceptionCodes.SERVERAA_NO_CONTROL, CompletionStatus.COMPLETED_NO);
  }

  if (_theControl.isWrapper())
  {
      destroyResource();
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.