return new URL(values[i + 1].trim());
}
catch (MalformedURLException e)
{
throw new ActivityUserException(
new UnknownTransferException(transferName));
}
}
}
// if the transfer hasn't been found
throw new ActivityUserException(
new UnknownTransferException(transferName));
}