String url = link.getHref(server, SERVICE_PATH, urlParameters);
try {
String response = request(new URL(url), link.getHttpMethod(), requestMediaType, timeout, parameters);
return factory.get(response);
} catch (EncodingException e) {
throw new OpenShiftException(e, e.getMessage());
} catch (MalformedURLException e) {
throw new OpenShiftException(e, e.getMessage());
} catch (UnauthorizedException e) {
throw new InvalidCredentialsOpenShiftException(url, e, getRestResponse(e));
} catch (NotFoundException e) {
throw new NotFoundOpenShiftException(url, e, getRestResponse(e));
} catch (HttpClientException e) {