/* Comment copied from interface */
public void setAssignee (WfResource newValue)
throws RemoteException, InvalidResourceException {
if (newValue == null) {
throw new InvalidResourceException ();
}
try {
((Activity)activity).changeAssignment(assignee(), newValue);
} catch (NotAssignedException e) {
throw (InvalidResourceException)
(new InvalidResourceException ()).initCause (e);
} catch (AlreadyAssignedException e) {
throw (InvalidResourceException)
(new InvalidResourceException ()).initCause (e);
}
}