com.amazonaws.services.s3.model
Class MultiObjectDeleteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.s3.model.AmazonS3Exception
com.amazonaws.services.s3.model.MultiObjectDeleteException
- All Implemented Interfaces:
- Serializable
public class MultiObjectDeleteException
- extends AmazonS3Exception
Exception for partial or total failure of the multi-object delete API,
including the errors that occurred. For successfully deleted objects, refer
to getDeletedObjects()
.
- See Also:
- Serialized Form
Methods inherited from class com.amazonaws.AmazonServiceException |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode |
MultiObjectDeleteException
public MultiObjectDeleteException(Collection<MultiObjectDeleteException.DeleteError> errors,
Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
getDeletedObjects
public List<DeleteObjectsResult.DeletedObject> getDeletedObjects()
- Returns the list of successfully deleted objects from this request. If
DeleteObjectsRequest.getQuiet()
is true, only error responses
will be returned from s3.
getErrors
public List<MultiObjectDeleteException.DeleteError> getErrors()
- Returns the list of errors from the attempted delete operation.
Copyright © 2016. All rights reserved.