return createExceptionFromHeaders(httpResponse, null); if (log.isDebugEnabled()) log.debug("Failed in parsing the error response : ", ioe); return createExceptionFromHeaders(httpResponse, null); if (targetDepth == 1 && !S3ErrorTags.Error.toString().equals(tagName)) return createExceptionFromHeaders(httpResponse, "Unable to parse error response. Error XML Not in proper format." + content); targetDepth--; if (!(hasErrorTagVisited) || targetDepth > 1) { return createExceptionFromHeaders(httpResponse, "Unable to parse error response. Error XML Not in proper format." + content); e); return createExceptionFromHeaders(httpResponse, content);
return createExceptionFromHeaders(httpResponse, null); if (log.isDebugEnabled()) log.debug("Failed in parsing the error response : ", ioe); return createExceptionFromHeaders(httpResponse, null); if (targetDepth == 1 && !S3ErrorTags.Error.toString().equals(tagName)) return createExceptionFromHeaders(httpResponse, "Unable to parse error response. Error XML Not in proper format." + content); targetDepth--; if (!(hasErrorTagVisited) || targetDepth > 1) { return createExceptionFromHeaders(httpResponse, "Unable to parse error response. Error XML Not in proper format." + content); e); return createExceptionFromHeaders(httpResponse, content);