@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SerialConsoleAccessDisabledException extends AWSEC2InstanceConnectException
Your account is not authorized to use the EC2 Serial Console. To authorize your account, run the EnableSerialConsoleAccess API. For more information, see EnableSerialConsoleAccess in the Amazon EC2 API Reference.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| SerialConsoleAccessDisabledException(String message)Constructs a new SerialConsoleAccessDisabledException 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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SerialConsoleAccessDisabledException(String message)
message - Describes the error encountered.