public class ResourceNotFoundException extends AmazonServiceException
A specified resource cannot be located.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ResourceNotFoundException(String message)Constructs a new ResourceNotFoundException with the specified error
 message. | 
| Modifier and Type | Method and Description | 
|---|---|
| Integer | getCode()Returns the value of the Code property for this object. | 
| void | setCode(Integer code)Sets the value of the Code property for this object. | 
| ResourceNotFoundException | withCode(Integer code)Sets the value of the Code property for this object. | 
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceNotFoundException(String message)
message - Describes the error encountered.public void setCode(Integer code)
code - The new value for the Code property for this object.public Integer getCode()
public ResourceNotFoundException withCode(Integer code)
code - The new value for the Code property for this object.Copyright © 2015. All rights reserved.