@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, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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.