public class ResourceNotFoundException extends AmazonServiceException
The resource could not be found.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceId
The resource could not be found.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ResourceNotFoundException(java.lang.String message)
Constructs a new ResourceNotFoundException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceId()
The resource could not be found.
|
void |
setResourceId(java.lang.String resourceId)
The resource could not be found.
|
ResourceNotFoundException |
withResourceId(java.lang.String resourceId)
The resource could not be found.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String resourceId
The resource could not be found.
public ResourceNotFoundException(java.lang.String message)
message
- Describes the error encountered.public void setResourceId(java.lang.String resourceId)
The resource could not be found.
resourceId
- The resource could not be found.public java.lang.String getResourceId()
The resource could not be found.
public ResourceNotFoundException withResourceId(java.lang.String resourceId)
The resource could not be found.
resourceId
- The resource could not be found.