return newAmazonS3Exception(errorResponse.getStatusText(), errorResponse); log.debug("Failed in reading the error response", ex); return newAmazonS3Exception(errorResponse.getStatusText(), errorResponse); log.debug("Failed in parsing the response as XML: " + content, ex); return newAmazonS3Exception(content, errorResponse);
return newAmazonS3Exception(errorResponse.getStatusText(), errorResponse); log.debug("Failed in reading the error response", ex); return newAmazonS3Exception(errorResponse.getStatusText(), errorResponse); log.debug("Failed in parsing the response as XML: " + content, ex); return newAmazonS3Exception(content, errorResponse);