com.amazonaws.services.s3.model
Class MultiObjectDeleteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.amazonaws.AmazonClientException
                  extended by com.amazonaws.AmazonServiceException
                      extended by com.amazonaws.services.s3.model.AmazonS3Exception
                          extended by 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

Nested Class Summary
static class MultiObjectDeleteException.DeleteError
          An error that occurred when deleting an object.
 
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
 
Constructor Summary
MultiObjectDeleteException(Collection<MultiObjectDeleteException.DeleteError> errors, Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
           
 
Method Summary
 List<DeleteObjectsResult.DeletedObject> getDeletedObjects()
          Returns the list of successfully deleted objects from this request.
 List<MultiObjectDeleteException.DeleteError> getErrors()
          Returns the list of errors from the attempted delete operation.
 
Methods inherited from class com.amazonaws.services.s3.model.AmazonS3Exception
getExtendedRequestId, setExtendedRequestId, toString
 
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorType, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiObjectDeleteException

public MultiObjectDeleteException(Collection<MultiObjectDeleteException.DeleteError> errors,
                                  Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
Method Detail

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 © 2010 Amazon Web Services, Inc. All Rights Reserved.