public boolean addOwner(Principal caller,Principal owner) throws NotOwnerException {
  if (!ownerList.contains(caller))   throw new NotOwnerException();
  if (ownerList.contains(owner)) {
    return false;
  }
 else {
    ownerList.addElement(owner);
    return true;
  }
}

public boolean addOwner ( Principal caller , Principal owner ) throws NotOwnerException { if ( ! ownerList . contains ( caller ) ) throw new NotOwnerException ( ) ; if ( ownerList . contains ( owner ) ) { return false ; } else { ownerList . addElement ( owner ) ; return true ; } }
adds an owner . only owners can modify acl contents . the caller principal must be an owner of the acl in order to invoke this method . that is , only an owner can add another owner . the initial owner is configured at acl construction time .
