/** * Set the termination status for the current activity, if any. * * @param endStatus The state in which the activity * should attempt to terminate. This may * be one of the default values provided by WSAS or may be extended in * an implementation specific manner by an HLS. * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception WrongStateException Thrown if the completion status is * incompatible with the current state of the activity. * @exception SystemException Thrown if any other error occurs. */ public void setCompletionStatus (CompletionStatus endStatus) throws NoActivityException, WrongStateException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); curr.setCompletionStatus(endStatus); }
/** * Set the termination status for the current activity, if any. * * @param endStatus The state in which the activity * should attempt to terminate. This may * be one of the default values provided by WSAS or may be extended in * an implementation specific manner by an HLS. * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception WrongStateException Thrown if the completion status is * incompatible with the current state of the activity. * @exception SystemException Thrown if any other error occurs. */ public void setCompletionStatus (CompletionStatus endStatus) throws NoActivityException, WrongStateException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); curr.setCompletionStatus(endStatus); }
/** * Set the termination status for the current activity, if any. * * @param endStatus The state in which the activity * should attempt to terminate. This may * be one of the default values provided by WSAS or may be extended in * an implementation specific manner by an HLS. * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception WrongStateException Thrown if the completion status is * incompatible with the current state of the activity. * @exception SystemException Thrown if any other error occurs. */ public void setCompletionStatus (CompletionStatus endStatus) throws NoActivityException, WrongStateException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); curr.setCompletionStatus(endStatus); }
/** * Set the termination status for the current activity, if any. * * @param endStatus The state in which the activity * should attempt to terminate. This may * be one of the default values provided by WSAS or may be extended in * an implementation specific manner by an HLS. * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception WrongStateException Thrown if the completion status is * incompatible with the current state of the activity. * @exception SystemException Thrown if any other error occurs. */ public void setCompletionStatus (CompletionStatus endStatus) throws NoActivityException, WrongStateException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); curr.setCompletionStatus(endStatus); }
element._activity.setCompletionStatus(FailureOnly.instance());
element._activity.setCompletionStatus(FailureOnly.instance());
element._activity.setCompletionStatus(FailureOnly.instance());
element._activity.setCompletionStatus(FailureOnly.instance());
setCompletionStatus(FailureOnly.instance());
setCompletionStatus(FailureOnly.instance());
setCompletionStatus(FailureOnly.instance());
setCompletionStatus(FailureOnly.instance());