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