Package com.arjuna.mw.wsas.exceptions

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


    public Outcome end () throws InvalidActivityException, WrongStateException, ProtocolViolationException, SystemException, NoActivityException, SystemException, NoPermissionException, ActiveChildException
    {
  ActivityImple currentActivity = current();

  if (currentActivity == null)
      throw new NoActivityException();

  /*
  if (currentActivity.parent() != null)
      throw new ActiveChildException();
  */
 
View Full Code Here


    public Outcome end (com.arjuna.mw.wsas.completionstatus.CompletionStatus cs) throws InvalidActivityException, WrongStateException, ProtocolViolationException, SystemException, NoActivityException, NoPermissionException, ActiveChildException
    {
  ActivityImple currentActivity = current();

  if (currentActivity == null)
      throw new NoActivityException();

  /*
  if (currentActivity.parent() != null)
      throw new ActiveChildException();
  */
 
View Full Code Here

    public void setCompletionStatus (CompletionStatus endStatus) throws NoActivityException, WrongStateException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();
 
  curr.setCompletionStatus(endStatus);
    }
View Full Code Here

    public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();
  else
      return curr.getCompletionStatus();
    }
View Full Code Here

    public String activityName () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException()// or return null?
  else
      return curr.activityName();
    }
View Full Code Here

    public GlobalId activityId () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException()// or return null?
  else
      return curr.getGlobalId();
    }
View Full Code Here

    public Outcome coordinate () throws WrongStateException, ProtocolViolationException, NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _theCoordinatorService.coordinate(curr.getCompletionStatus());
    }
View Full Code Here

    public Outcome coordinate (CompletionStatus cs) throws WrongStateException, ProtocolViolationException, NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  curr.completionValid(cs);
 
  return _theCoordinatorService.coordinate(cs);
    }
View Full Code Here

    public Qualifier[] qualifiers () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _theCoordinatorService.qualifiers();
    }
View Full Code Here

    public CoordinatorId identifier () throws NoActivityException, SystemException
    {
  ActivityImple curr = current();
 
  if (curr == null)
      throw new NoActivityException();

  return _theCoordinatorService.identifier();
    }
View Full Code Here

TOP

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

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.