@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryLimitExceededException extends AmazonNeptunedataException
Raised when a request fails because of insufficient memory resources. The request can be retried.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
MemoryLimitExceededException(String message)
Constructs a new MemoryLimitExceededException 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 failed.
|
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 failed.
|
MemoryLimitExceededException |
withCode(String code)
The HTTP status code returned with the exception.
|
MemoryLimitExceededException |
withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
MemoryLimitExceededException |
withRequestId(String requestId)
The ID of the request that failed.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MemoryLimitExceededException(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 MemoryLimitExceededException 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 failed.
setRequestId in class AmazonServiceExceptionrequestId - The ID of the request that failed.public String getRequestId()
The ID of the request that failed.
getRequestId in class AmazonServiceExceptionpublic MemoryLimitExceededException withRequestId(String requestId)
The ID of the request that failed.
requestId - The ID of the request that failed.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 MemoryLimitExceededException withCode(String code)
The HTTP status code returned with the exception.
code - The HTTP status code returned with the exception.