Package com.arjuna.wst

Examples of com.arjuna.wst.UnknownTransactionException


      _cm.close();
  }
  catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wscf.model.sagas.exceptions.CoordinatorCancelledException ex)
  {
      throw new TransactionRolledBackException();
  }
View Full Code Here


     
      _cm.cancel();
  }
  catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
  {
      throw new SystemException();
  }
  catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wscf.model.sagas.exceptions.CoordinatorConfirmedException ex)
  {
      throw new SystemException();
  }
View Full Code Here

     
      _cm.complete();
  }
  catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
  {
      throw new SystemException();
  }
  catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wscf.model.sagas.exceptions.CoordinatorConfirmedException ex)
  {
      throw new SystemException();
  }
View Full Code Here

    }

    public void cancel ()
        throws UnknownTransactionException, SystemException
    {
        throw new UnknownTransactionException();
    }
View Full Code Here

    }

    public void complete ()
        throws UnknownTransactionException, SystemException
    {
        throw new UnknownTransactionException();
    }
View Full Code Here

            bridgeWrapper.id = identifier;
            return bridgeWrapper;
        } else {
            XTSATRecoveryManager recoveryManager = XTSATRecoveryManager.getRecoveryManager();
            if (recoveryManager.isCoordinatorRecoveryStarted()) {
                throw new UnknownTransactionException();
            } else {
                return null;
            }
        }
    }
View Full Code Here

    public TxContext getContext() throws UnknownTransactionException
    {
        if (context != null) {
            return context;
        } else {
            throw new UnknownTransactionException();
        }
    }
View Full Code Here

    public void close () throws TransactionRolledBackException, UnknownTransactionException, SystemException
    {
        try
        {
            if (_hier == null)
            throw new UnknownTransactionException();

            _coordManager.resume(_hier);
       
            _coordManager.close();
        }
        catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
        {
            throw new UnknownTransactionException();
        }
        catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
        {
            throw new SystemException(ex.toString());
        }
        catch (com.arjuna.mw.wscf.model.sagas.exceptions.CoordinatorCancelledException ex)
        {
            throw new TransactionRolledBackException();
        }
        catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
        {
            throw new UnknownTransactionException();
        }
        catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
        {
            throw new SystemException(ex.toString());
        }
View Full Code Here

    public void cancel () throws UnknownTransactionException, SystemException
    {
  try
  {
      if (_hier == null)
    throw new UnknownTransactionException();

      _coordManager.resume(_hier);
 
      _coordManager.cancel();
  }
  catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.NoPermissionException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.model.sagas.exceptions.CoordinatorConfirmedException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException();
  }
View Full Code Here

    public void complete () throws UnknownTransactionException, SystemException
    {
  try
  {
      if (_hier == null)
    throw new UnknownTransactionException();

      _coordManager.resume(_hier);
 
      _coordManager.complete();
  }
  catch (com.arjuna.mw.wsas.exceptions.InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.NoPermissionException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.ProtocolViolationException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException();
  }
View Full Code Here

TOP

Related Classes of com.arjuna.wst.UnknownTransactionException

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.