@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryLimitExceededException extends AmazonNeptunedataException
Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
AmazonServiceException.ErrorType
Constructor and Description |
---|
QueryLimitExceededException(String message)
Constructs a new QueryLimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
The HTTP status code returned with the exception.
|
String |
getDetailedMessage()
A detailed message describing the problem.
|
String |
getRequestId()
The ID of the request which exceeded the limit.
|
void |
setCode(String code)
The HTTP status code returned with the exception.
|
void |
setDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
void |
setRequestId(String requestId)
The ID of the request which exceeded the limit.
|
QueryLimitExceededException |
withCode(String code)
The HTTP status code returned with the exception.
|
QueryLimitExceededException |
withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
QueryLimitExceededException |
withRequestId(String requestId)
The ID of the request which exceeded the limit.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public QueryLimitExceededException(String message)
message
- Describes the error encountered.public void setDetailedMessage(String detailedMessage)
A detailed message describing the problem.
detailedMessage
- A detailed message describing the problem.public String getDetailedMessage()
A detailed message describing the problem.
public QueryLimitExceededException withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
detailedMessage
- A detailed message describing the problem.public void setRequestId(String requestId)
The ID of the request which exceeded the limit.
setRequestId
in class AmazonServiceException
requestId
- The ID of the request which exceeded the limit.public String getRequestId()
The ID of the request which exceeded the limit.
getRequestId
in class AmazonServiceException
public QueryLimitExceededException withRequestId(String requestId)
The ID of the request which exceeded the limit.
requestId
- The ID of the request which exceeded the limit.public void setCode(String code)
The HTTP status code returned with the exception.
code
- The HTTP status code returned with the exception.public String getCode()
The HTTP status code returned with the exception.
public QueryLimitExceededException withCode(String code)
The HTTP status code returned with the exception.
code
- The HTTP status code returned with the exception.