@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AWSServerlessApplicationRepositoryException
The resource already exists.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ConflictException(String message)
Constructs a new ConflictException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
409
|
void |
setErrorCode(String errorCode)
409
|
ConflictException |
withErrorCode(String errorCode)
409
|
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConflictException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
409
setErrorCode
in class AmazonServiceException
errorCode
- 409public String getErrorCode()
409
getErrorCode
in class AmazonServiceException
public ConflictException withErrorCode(String errorCode)
409
errorCode
- 409