public class MultiObjectDeleteException extends AmazonS3Exception implements Serializable
getDeletedObjects().| Modifier and Type | Class and Description | 
|---|---|
| static class  | MultiObjectDeleteException.DeleteErrorAn error that occurred when deleting an object. | 
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| MultiObjectDeleteException(Collection<MultiObjectDeleteException.DeleteError> errors,
                          Collection<DeleteObjectsResult.DeletedObject> deletedObjects) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<DeleteObjectsResult.DeletedObject> | getDeletedObjects()Returns the list of successfully deleted objects from this request. | 
| String | getErrorCode()Always returns  nullsince this exception represents a
 "successful" response from the service with no top-level error code. | 
| List<MultiObjectDeleteException.DeleteError> | getErrors()Returns the list of errors from the attempted delete operation. | 
getAdditionalDetails, getCloudFrontId, getErrorResponseXml, getExtendedRequestId, getMessage, setAdditionalDetails, setCloudFrontId, setExtendedRequestId, toStringgetErrorMessage, getErrorType, getHttpHeaders, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic MultiObjectDeleteException(Collection<MultiObjectDeleteException.DeleteError> errors, Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
public String getErrorCode()
null since this exception represents a
 "successful" response from the service with no top-level error code. Use
 getErrors() to retrieve a list of objects whose deletion failed,
 along with the error code and message for each individual failure.getErrorCode in class AmazonServiceExceptionpublic List<DeleteObjectsResult.DeletedObject> getDeletedObjects()
DeleteObjectsRequest.getQuiet() is true, only error responses
 will be returned from s3.public List<MultiObjectDeleteException.DeleteError> getErrors()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.