public ServiceException getServiceException() { String fullMessage = message + ": PartNumber=" + partNumber + ", MinSizeAllowed=" + minSizeAllowed + ", ProposedSize=" + proposedSize + ", ETag=" + etag; ServiceException e = new ServiceException(fullMessage); e.setErrorCode(code); e.setErrorMessage(message); e.setErrorHostId(hostId); e.setErrorRequestId(requestId); return e; }
public ServiceException getServiceException() { String fullMessage = message + ": PartNumber=" + partNumber + ", MinSizeAllowed=" + minSizeAllowed + ", ProposedSize=" + proposedSize + ", ETag=" + etag; ServiceException e = new ServiceException(fullMessage); e.setErrorCode(code); e.setErrorMessage(message); e.setErrorHostId(hostId); e.setErrorRequestId(requestId); return e; }