/** * Check whether the specified completion status is compatible with the one * currently assigned to the activity. * * @param CompletionStatus * cs The completion status to check. * * @exception WrongStateException * Thrown if the specified status is incompatible with that * currently possessed by this activity. * */ public final void completionValid (CompletionStatus cs) throws WrongStateException { if (!_completionStatus.equals(cs)) { if (_completionStatus.equals(FailureOnly.instance())) throw new WrongStateException( wsasLogger.i18NLogger.get_activity_ActivityImple_5() + " " + _completionStatus + " " + cs); } }
/** * Check whether the specified completion status is compatible with the one * currently assigned to the activity. * * @param CompletionStatus * cs The completion status to check. * * @exception WrongStateException * Thrown if the specified status is incompatible with that * currently possessed by this activity. * */ public final void completionValid (CompletionStatus cs) throws WrongStateException { if (!_completionStatus.equals(cs)) { if (_completionStatus.equals(FailureOnly.instance())) throw new WrongStateException( wsasLogger.i18NLogger.get_activity_ActivityImple_5() + " " + _completionStatus + " " + cs); } }
/** * Check whether the specified completion status is compatible with the one * currently assigned to the activity. * * @param CompletionStatus * cs The completion status to check. * * @exception WrongStateException * Thrown if the specified status is incompatible with that * currently possessed by this activity. * */ public final void completionValid (CompletionStatus cs) throws WrongStateException { if (!_completionStatus.equals(cs)) { if (_completionStatus.equals(FailureOnly.instance())) throw new WrongStateException( wsasLogger.i18NLogger.get_activity_ActivityImple_5() + " " + _completionStatus + " " + cs); } }
/** * Check whether the specified completion status is compatible with the one * currently assigned to the activity. * * @param CompletionStatus * cs The completion status to check. * * @exception WrongStateException * Thrown if the specified status is incompatible with that * currently possessed by this activity. * */ public final void completionValid (CompletionStatus cs) throws WrongStateException { if (!_completionStatus.equals(cs)) { if (_completionStatus.equals(FailureOnly.instance())) throw new WrongStateException( wsasLogger.i18NLogger.get_activity_ActivityImple_5() + " " + _completionStatus + " " + cs); } }