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:
- java.io.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 |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MultiObjectDeleteException
public MultiObjectDeleteException(java.util.Collection<MultiObjectDeleteException.DeleteError> errors,
java.util.Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
getDeletedObjects
public java.util.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 java.util.List<MultiObjectDeleteException.DeleteError> getErrors()
- Returns the list of errors from the attempted delete operation.
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.