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
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
Constructor Summary
ConstructorsConstructorDescriptionObjectNotFoundException
(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 Details
-
ObjectNotFoundException
Constructs a new ObjectNotFoundException with the specified error message.- Parameters:
message
- Describes the error encountered.
-