public class MultiObjectDeleteException extends AmazonS3Exception
getDeletedObjects().| Modifier and Type | Class and Description |
|---|---|
static class |
MultiObjectDeleteException.DeleteError
An error that occurred when deleting an object.
|
AmazonServiceException.ErrorType| Constructor and Description |
|---|
MultiObjectDeleteException(java.util.Collection<MultiObjectDeleteException.DeleteError> errors,
java.util.Collection<DeleteObjectsResult.DeletedObject> deletedObjects) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DeleteObjectsResult.DeletedObject> |
getDeletedObjects()
Returns the list of successfully deleted objects from this request.
|
java.lang.String |
getErrorCode()
Always returns
null since this exception represents a
"successful" response from the service with no top-level error code. |
java.util.List<MultiObjectDeleteException.DeleteError> |
getErrors()
Returns the list of errors from the attempted delete operation.
|
getAdditionalDetails, getCloudFrontId, getErrorResponseXml, getExtendedRequestId, setAdditionalDetails, setCloudFrontId, setExtendedRequestId, toStringgetErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryablepublic MultiObjectDeleteException(java.util.Collection<MultiObjectDeleteException.DeleteError> errors, java.util.Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
public java.lang.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 java.util.List<DeleteObjectsResult.DeletedObject> getDeletedObjects()
DeleteObjectsRequest.getQuiet() is true, only error responses
will be returned from s3.public java.util.List<MultiObjectDeleteException.DeleteError> getErrors()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.