Package com.arjuna.mw.wsas.exceptions

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


          _resource.rollback();
      }
      //      catch (com.arjuna.mw.wst.exceptions.WrongStateException ex)
      catch (com.arjuna.wst.WrongStateException ex)
      {
        throw new WrongStateException(ex.toString());
      }
      /*
       * catch (com.arjuna.mw.wst.exceptions.HeuristicHazardException ex) {
       * throw new HeuristicHazardException(ex.toString()); } catch
       * (com.arjuna.mw.wst.exceptions.HeuristicMixedException ex) { throw
View Full Code Here


        ((BusinessAgreementWithCoordinatorCompletionParticipant) _resource)
            .complete();
      }
      catch (com.arjuna.wst.WrongStateException ex)
      {
        throw new WrongStateException(ex.toString());
      }
      catch (com.arjuna.wst.SystemException ex)
      {
        throw new SystemException(ex.toString());
      }
View Full Code Here

      else
        throw new InvalidParticipantException();
    }
    catch (com.arjuna.wst.WrongStateException ex)
    {
      throw new WrongStateException(ex.toString());
    }
    catch (com.arjuna.wst.SystemException ex)
    {
      throw new SystemException(ex.toString());
    }
View Full Code Here

            // n.b. in 1.0 we will never see this
            throw new SystemException(ex.toString());
        }
    catch (com.arjuna.wst.WrongStateException ex)
    {
      throw new WrongStateException(ex.toString());
    }
        catch (com.arjuna.wst.SystemException ex)
        {
            throw new SystemException(ex.toString());
        }
View Full Code Here

    {
      throw new CompensateFailedException();
    }
    catch (com.arjuna.wst.WrongStateException ex)
    {
      throw new WrongStateException(ex.toString());
    }
    catch (com.arjuna.wst.SystemException ex)
    {
      throw new SystemException(ex.toString());
    }
View Full Code Here

                }
            }
    }
    else
        {
            throw new WrongStateException();
        }
    }
View Full Code Here

  {
    if (act == null) throw new InvalidParticipantException();

    AbstractRecord rec = new ParticipantRecord((Participant)act, new Uid());

    if (add(rec) != AddOutcome.AR_ADDED) throw new WrongStateException();
    else
    {
      /*
       * Presume nothing protocol, so we need to write the intentions list
       * every time a participant is added.
View Full Code Here

            case ActionStatus.RUNNING:
            case ActionStatus.ABORT_ONLY:
                changeParticipantStatus(participantId, DELISTED);
                break;
            default:
                throw new WrongStateException(
          wscfLogger.log_mesg
              .getString("com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ACCoordinator_3"));
        }
    }
View Full Code Here

            case ActionStatus.RUNNING:
            case ActionStatus.ABORT_ONLY:
                changeParticipantStatus(participantId, COMPLETED);
                break;
            default:
                throw new WrongStateException(
          wscfLogger.log_mesg
              .getString("com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ACCoordinator_3"));
        }
  }
View Full Code Here

                // !!! deliberate drop through !!!
            case ActionStatus.ABORT_ONLY:
                changeParticipantStatus(participantId, DELISTED);
                break;
            default:
                throw new WrongStateException(
                    wscfLogger.log_mesg
                            .getString("com.arjuna.mwlabs.wscf.model.sagas.arjunacore.ACCoordinator_3"));
        }
    }
View Full Code Here

TOP

Related Classes of com.arjuna.mw.wsas.exceptions.WrongStateException

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.