Package com.arjuna.mw.wsas.exceptions

Examples of com.arjuna.mw.wsas.exceptions.SystemException


    public synchronized void participantCannotComplete (String participantId)
            throws InvalidParticipantException, WrongStateException, SystemException
    {
        if (participantId == null)
            throw new SystemException(
                    wscfLogger.log_mesg
                            .getString("com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ACCoordinator_2"));

        int status = status();
        // cannot complete is only legitimate when the TX is in these states
View Full Code Here


 
      _theTransactionManagerImple.resume(tx);
  }
  catch (Exception ex)
  {
      throw new SystemException(ex.toString());
  }
    } 
View Full Code Here

          absRec = iter.iterate();
        }
      }
      catch (Exception ex)
      {
        throw new SystemException(ex.toString());
      }
    }

    if (!found) throw new InvalidParticipantException();
  }
View Full Code Here

  {
      return new XAStatus(currentCoordinator().getStatus());
  }
  catch (javax.transaction.SystemException ex)
  {
      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

  }
  catch (Exception ex)
  {
      ex.printStackTrace();
     
      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

  public synchronized void participantRolledBack (String participantId)
      throws InvalidParticipantException, WrongStateException,
      SystemException
  {
    if (participantId == null)
      throw new SystemException(
          wscfLogger.log_mesg.getString("com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ACCoordinator_2"));

    if (status() == ActionStatus.RUNNING)
      changeParticipantStatus(participantId, ROLLEDBACK);
    else
View Full Code Here

  public synchronized void participantReadOnly (String participantId)
      throws InvalidParticipantException, SystemException
  {
    if (participantId == null)
      throw new SystemException(
          wscfLogger.log_mesg.getString("com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ACCoordinator_2"));

    if (status() == ActionStatus.RUNNING)
    {
      changeParticipantStatus(participantId, READONLY);
    }
    else
      throw new SystemException(
          wscfLogger.log_mesg.getString("com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ACCoordinator_3"));
  }
View Full Code Here

          absRec = iter.iterate();
        }
      }
      catch (Exception ex)
      {
        throw new SystemException(ex.toString());
      }
    }

    if (!found)
      throw new InvalidParticipantException();
View Full Code Here

    }
    catch (Exception ex)
    {
      ex.printStackTrace();

      throw new SystemException(ex.toString());
    }
  }
View Full Code Here

  }
  catch (Exception ex)
  {
      ex.printStackTrace();

      throw new SystemException(ex.toString());
  }
    }
View Full Code Here

TOP

Related Classes of com.arjuna.mw.wsas.exceptions.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.