@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestException extends AmazonAthenaException
Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidRequestException(String message)
Constructs a new InvalidRequestException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAthenaErrorCode() |
void |
setAthenaErrorCode(String athenaErrorCode) |
InvalidRequestException |
withAthenaErrorCode(String athenaErrorCode) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidRequestException(String message)
message - Describes the error encountered.public void setAthenaErrorCode(String athenaErrorCode)
athenaErrorCode - public String getAthenaErrorCode()
public InvalidRequestException withAthenaErrorCode(String athenaErrorCode)
athenaErrorCode -