/** * Wrap a ServiceException as an S3ServiceException. * @param se */ public S3ServiceException(ServiceException se) { super(se.getMessage(), se.getXmlMessage(), se.getCause()); this.setResponseHeaders(se.getResponseHeaders()); this.setResponseCode(se.getResponseCode()); this.setResponseStatus(se.getResponseStatus()); this.setResponseDate(se.getResponseDate()); this.setRequestVerb(se.getRequestVerb()); this.setRequestPath(se.getRequestPath()); this.setRequestHost(se.getRequestHost()); }
/** * Wrap a ServiceException as an S3ServiceException. * @param se */ public S3ServiceException(ServiceException se) { super(se.getMessage(), se.getXmlMessage(), se.getCause()); this.setResponseHeaders(se.getResponseHeaders()); this.setResponseCode(se.getResponseCode()); this.setResponseStatus(se.getResponseStatus()); this.setResponseDate(se.getResponseDate()); this.setRequestVerb(se.getRequestVerb()); this.setRequestPath(se.getRequestPath()); this.setRequestHost(se.getRequestHost()); }