|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectjava.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
public class MultiObjectDeleteException
Exception for partial or total failure of the multi-object delete API,
including the errors that occurred. For successfully deleted objects, refer
to getDeletedObjects().
| 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 |
|---|
public MultiObjectDeleteException(Collection<MultiObjectDeleteException.DeleteError> errors,
Collection<DeleteObjectsResult.DeletedObject> deletedObjects)
| Method Detail |
|---|
public List<DeleteObjectsResult.DeletedObject> getDeletedObjects()
DeleteObjectsRequest.getQuiet() is true, only error responses
will be returned from s3.
public List<MultiObjectDeleteException.DeleteError> getErrors()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||