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. 
 | 
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 Integer getCode()
public void setCode(Integer code)
code - The new value for this object's Code property.Copyright © 2015. All rights reserved.