/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
result = hls.complete(getCompletionStatus()); } else { result = new OutcomeImple(Failure.instance());
result = hls.complete(getCompletionStatus()); } else { result = new OutcomeImple(Failure.instance());
result = hls.complete(getCompletionStatus()); } else { result = new OutcomeImple(Failure.instance());
result = hls.complete(getCompletionStatus()); } else { result = new OutcomeImple(Failure.instance());