public class ResourceAlreadyExistsException extends AmazonServiceException
The resource already exists.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ResourceAlreadyExistsException(String message)
Constructs a new ResourceAlreadyExistsException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceArn()
The ARN of the resource that caused the exception.
|
String |
getResourceId()
The ID of the resource that caused the exception.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource that caused the exception.
|
void |
setResourceId(String resourceId)
The ID of the resource that caused the exception.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceAlreadyExistsException(String message)
message - Describes the error encountered.public String getResourceId()
The ID of the resource that caused the exception.
The ID of the resource that caused the exception.
public void setResourceId(String resourceId)
The ID of the resource that caused the exception.
resourceId - The ID of the resource that caused the exception.
public String getResourceArn()
The ARN of the resource that caused the exception.
The ARN of the resource that caused the exception.
public void setResourceArn(String resourceArn)
The ARN of the resource that caused the exception.
resourceArn - The ARN of the resource that caused the exception.
Copyright © 2017. All rights reserved.