} 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) {
RestResponse restResponse = getRestResponse(e);
String message = getMessage(restResponse, e);