NexusClientException exception = convertIfKnown(e);
if (exception != null) {
return exception;
}
return new NexusClientResponseException(
getMessageIfPresent(e.getResponse().getClientResponseStatus().getStatusCode(), e),
e.getResponse().getClientResponseStatus().getStatusCode(),
e.getResponse().getClientResponseStatus().getReasonPhrase(),
getResponseBody(e.getResponse())
);