public class ObjectNotFoundException extends AmazonServiceException
The specified object could not be found. For any Put
or
Register
API operation, which depends on the existence of a
scalable target, this exception is thrown if the scalable target with the
specified service namespace, resource ID, and scalable dimension does not
exist. For any Delete
or Deregister
API operation,
this exception is thrown if the resource that is to be deleted or
deregistered cannot be found.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ObjectNotFoundException(String message)
Constructs a new ObjectNotFoundException with the specified error
message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ObjectNotFoundException(String message)
message
- Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.