@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BadRequestException extends AWSServerlessApplicationRepositoryException
AmazonServiceException.ErrorType
Constructor and Description |
---|
BadRequestException(String message)
Constructs a new BadRequestException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
400
|
void |
setErrorCode(String errorCode)
400
|
BadRequestException |
withErrorCode(String errorCode)
400
|
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BadRequestException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
setErrorCode
in class AmazonServiceException
errorCode
- 400public String getErrorCode()
getErrorCode
in class AmazonServiceException
public BadRequestException withErrorCode(String errorCode)
errorCode
- 400Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.