@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2InstanceStateInvalidException extends AWSEC2InstanceConnectException
Unable to connect because the instance is not in a valid state. Connecting to a stopped or terminated instance is not supported. If the instance is stopped, start your instance, and try to connect again.
AmazonServiceException.ErrorType
Constructor and Description |
---|
EC2InstanceStateInvalidException(String message)
Constructs a new EC2InstanceStateInvalidException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EC2InstanceStateInvalidException(String message)
message
- Describes the error encountered.