public class ResourceNotFoundException extends AmazonServiceException
A specified resource cannot be located.
AmazonServiceException.ErrorType
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.Integer |
getCode()
Returns the value of the code property for this object.
|
void |
setCode(java.lang.Integer code)
Sets the value of code
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
public ResourceNotFoundException(java.lang.String message)
message
- Describes the error encountered.public java.lang.Integer getCode()
public void setCode(java.lang.Integer code)
code
- The new value for the code property for this object.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.