@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, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRequestException(String message)
message
- Describes the error encountered.public void setAthenaErrorCode(String athenaErrorCode)
athenaErrorCode
- public String getAthenaErrorCode()
public InvalidRequestException withAthenaErrorCode(String athenaErrorCode)
athenaErrorCode
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.