@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BadRequestException extends AWSServerlessApplicationRepositoryException
One of the parameters in the request is invalid.
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, 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 BadRequestException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
400
setErrorCode in class AmazonServiceExceptionerrorCode - 400public String getErrorCode()
400
getErrorCode in class AmazonServiceExceptionpublic BadRequestException withErrorCode(String errorCode)
400
errorCode - 400