@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryLimitException extends AmazonNeptunedataException
Raised when the size of a query exceeds the system limit.
AmazonServiceException.ErrorType
Constructor and Description |
---|
QueryLimitException(String message)
Constructs a new QueryLimitException 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 that 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 that exceeded the limit.
|
QueryLimitException |
withCode(String code)
The HTTP status code returned with the exception.
|
QueryLimitException |
withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
QueryLimitException |
withRequestId(String requestId)
The ID of the request that 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 QueryLimitException(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 QueryLimitException 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 that exceeded the limit.
setRequestId
in class AmazonServiceException
requestId
- The ID of the request that exceeded the limit.public String getRequestId()
The ID of the request that exceeded the limit.
getRequestId
in class AmazonServiceException
public QueryLimitException withRequestId(String requestId)
The ID of the request that exceeded the limit.
requestId
- The ID of the request that 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 QueryLimitException withCode(String code)
The HTTP status code returned with the exception.
code
- The HTTP status code returned with the exception.