Class ObjectNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.AmazonServiceException
-
- com.amazonaws.services.applicationautoscaling.model.ObjectNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ObjectNotFoundException extends AmazonServiceException
The specified object could not be found. For any
Put
orRegister
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 anyDelete
orDeregister
API operation, this exception is thrown if the resource that is to be deleted or deregistered cannot be found.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
-
Constructor Summary
Constructors Constructor Description ObjectNotFoundException(String message)
Constructs a new ObjectNotFoundException with the specified error message.
-
Method Summary
-
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
-
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ObjectNotFoundException
public ObjectNotFoundException(String message)
Constructs a new ObjectNotFoundException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-