public class CannotDeleteException extends AmazonServiceException
Indicates that the delete operation could not be completed.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
CannotDeleteException(java.lang.String message)
Constructs a new CannotDeleteException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Indicates that a resource could not be deleted because no resource with
the specified name exists.
|
void |
setName(java.lang.String name)
Indicates that a resource could not be deleted because no resource with
the specified name exists.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryablepublic CannotDeleteException(java.lang.String message)
message - Describes the error encountered.public java.lang.String getName()
Indicates that a resource could not be deleted because no resource with the specified name exists.
Indicates that a resource could not be deleted because no resource with the specified name exists.
public void setName(java.lang.String name)
Indicates that a resource could not be deleted because no resource with the specified name exists.
name - Indicates that a resource could not be deleted because no resource with the specified name exists.
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.