public class EntityDoesNotExistException extends AmazonServiceException
The specified entity could not be found.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
requestId |
private static long |
serialVersionUID |
Constructor and Description |
---|
EntityDoesNotExistException(java.lang.String message)
Constructs a new EntityDoesNotExistException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestId()
Returns the AWS request ID that uniquely identifies the service request
the caller made.
|
void |
setRequestId(java.lang.String requestId)
Sets the AWS requestId for this exception.
|
EntityDoesNotExistException |
withRequestId(java.lang.String requestId) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String requestId
public EntityDoesNotExistException(java.lang.String message)
message
- Describes the error encountered.public void setRequestId(java.lang.String requestId)
AmazonServiceException
setRequestId
in class AmazonServiceException
requestId
- public java.lang.String getRequestId()
AmazonServiceException
getRequestId
in class AmazonServiceException
public EntityDoesNotExistException withRequestId(java.lang.String requestId)
requestId
-