Package com.arjuna.wst

Examples of com.arjuna.wst.SystemException


      throws FaultedException, WrongStateException, SystemException
    {
  if (!dropped)
  {
      dropped = true ;
      throw new SystemException("Dropping compensate") ;
  }
    }
View Full Code Here


    }
    catch (com.arjuna.wst.UnknownTransactionException ex)
    {
      ex.printStackTrace();

      throw new SystemException(ex.toString());
    }
    catch (com.arjuna.wsc.InvalidCreateParametersException ex)
    {
      throw new SystemException(ex.toString());
    }

    /*
     * At this point we would normally register a completion participant.
     *
 
View Full Code Here

    }

    public void beginSubordinate(final int timeout)
        throws WrongStateException, SystemException
    {
        throw new SystemException("com.arjuna.mwlabs.wst.at.local.UserTransactionImple  : beginSubordinate not implemented");
    }
View Full Code Here

  {
      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 HeuristicHazardException();
     
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.exceptions.NoCoordinatorException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wscf.model.twophase.exceptions.CoordinatorCancelledException ex)
  {
      throw new TransactionRolledBackException();
  }
  catch (com.arjuna.mw.wscf.model.twophase.exceptions.HeuristicMixedException ex)
  {
      //      throw new HeuristicMixedException();

      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.model.twophase.exceptions.HeuristicHazardException ex)
  {
      //      throw new HeuristicHazardException();

      throw new SystemException(ex.toString());

  }
  catch (com.arjuna.mw.wsas.exceptions.NoPermissionException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
  finally
  {
      if (deactivate)
          CompletionCoordinatorProcessor.getProcessor().deactivateParticipant(this);
View Full Code Here

  {
      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.twophase.exceptions.CoordinatorConfirmedException ex)
  {
      throw new SystemException();
  }
  catch (com.arjuna.mw.wscf.model.twophase.exceptions.HeuristicMixedException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wscf.model.twophase.exceptions.HeuristicHazardException 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.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
  finally
  {
        if (deactivate)
            CompletionCoordinatorProcessor.getProcessor().deactivateParticipant(this);
View Full Code Here

  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
  {
      throw new SystemException("UnknownParticipantException");
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new WrongStateException();
  }
  catch (InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
  {
      throw new SystemException("UnknownParticipantException");
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new WrongStateException();
  }
  catch (InvalidActivityException ex)
  {
      throw new UnknownTransactionException();
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

            _coordManager.suspend();
  }
    catch (final InvalidActivityException iae)
    {
        throw new SystemException("UnknownTransactionException");
    }
    catch (final UnknownTransactionException ute)
    {
        throw new SystemException("UnknownTransactionException");
    }
  catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
  {
      throw new SystemException("UnknownParticipantException");
  }
      catch (com.arjuna.mw.wsas.exceptions.NoActivityException ex)
  {
      throw new SystemException("UnknownTransactionException");
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

                _coordManager.suspend();
        }
        catch (final InvalidActivityException iae)
        {
            throw new SystemException("UnknownTransactionException");
        }
        catch (final UnknownTransactionException ute)
        {
            throw new SystemException("UnknownTransactionException");
        }
        catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
        {
            throw new SystemException("UnknownParticipantException");
        }
        catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
        {
            throw new WrongStateException();
        }
            catch (com.arjuna.mw.wsas.exceptions.NoActivityException ex)
        {
            throw new SystemException("UnknownTransactionException");
        }
        catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
        {
            throw new SystemException(ex.toString());
        }
    }
View Full Code Here

  {
      _coordManager.setCancelOnly();
  }
  catch (com.arjuna.mw.wsas.exceptions.WrongStateException ex)
  {
      throw new SystemException(ex.toString());
  }
  catch (com.arjuna.mw.wsas.exceptions.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

TOP

Related Classes of com.arjuna.wst.SystemException

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.