final String defaultMessage) {
Exception exception = null;
if (hasPayload(response)) {
try {
ErrorsDto errors = errorParser.apply(response);
exception = new AbiquoException(fromStatusCode(response.getStatusCode()), errors);
} catch (Exception ex) {
// If it is not an Abiquo Exception (can not be unmarshalled),
// propagate a standard
// HttpResponseException