Package com.amazonaws.services.ecs.model
Class ClusterContainsContainerInstancesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.AmazonServiceException
-
- com.amazonaws.services.ecs.model.ClusterContainsContainerInstancesException
-
- All Implemented Interfaces:
Serializable
public class ClusterContainsContainerInstancesException extends AmazonServiceException
You cannot delete a cluster that has registered container instances. You must first deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
-
Constructor Summary
Constructors Constructor Description ClusterContainsContainerInstancesException(String message)
Constructs a new ClusterContainsContainerInstancesException 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
-
ClusterContainsContainerInstancesException
public ClusterContainsContainerInstancesException(String message)
Constructs a new ClusterContainsContainerInstancesException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-