+ "]. You may need to update your feed URL if redirect is permanent.");
status = client.executeMethod(method);
}
if (status == 404) {
throw new SyncException("Could not find the feed at URL [" + url
+ "]. Make sure the URL field correctly refers to the CSP feed location.");
}
if (status == 401 || status == 403) {
throw new SyncException("Invalid login credentials specified for user [" + username + "]. Make sure "
+ "this user has an active account at the CSP and that the password is correct.");
}
if (status != 200) {
throw new SyncException("The call to retrieve the RSS feed failed with status code: " + status);
}
rawFeed = method.getResponseBodyAsString();
} finally {
method.releaseConnection();