@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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConflictException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
409
setErrorCode in class AmazonServiceExceptionerrorCode - 409public String getErrorCode()
409
getErrorCode in class AmazonServiceExceptionpublic ConflictException withErrorCode(String errorCode)
409
errorCode - 409