Package com.arjuna.mw.wsas.exceptions

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


  {
      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

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

      throw new SystemException(ex.toString());
  }

  return null;
    }
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());
  }

  return null;
    }
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

              if (!pr.complete())
              {
                preventCommit();

                throw new SystemException(
                    wscfLogger.log_mesg
                        .getString("com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ACCoordinator_1"));
              }
            }

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

          throw new SystemException(ex.toString());
        }
      }
    }
    else
      throw new WrongStateException();
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.