@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CannotDeleteException extends AmazonSimpleEmailServiceException
Indicates that the delete operation could not be completed.
AmazonServiceException.ErrorType
Constructor and Description |
---|
CannotDeleteException(String message)
Constructs a new CannotDeleteException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Indicates that a resource could not be deleted because no resource with the specified name exists.
|
void |
setName(String name)
Indicates that a resource could not be deleted because no resource with the specified name exists.
|
CannotDeleteException |
withName(String name)
Indicates that a resource could not be deleted because no resource with the specified name exists.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CannotDeleteException(String message)
message
- Describes the error encountered.public void setName(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.public String getName()
Indicates that a resource could not be deleted because no resource with the specified name exists.
public CannotDeleteException withName(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 © 2013 Amazon Web Services, Inc. All Rights Reserved.