@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationFailedException extends AWSDirectoryServiceException
An authentication error occurred.
AmazonServiceException.ErrorType
Constructor and Description |
---|
AuthenticationFailedException(String message)
Constructs a new AuthenticationFailedException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
The identifier of the request that caused the exception.
|
void |
setRequestId(String requestId)
The identifier of the request that caused the exception.
|
AuthenticationFailedException |
withRequestId(String requestId)
The identifier of the request that caused the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthenticationFailedException(String message)
message
- Describes the error encountered.public void setRequestId(String requestId)
The identifier of the request that caused the exception.
setRequestId
in class AmazonServiceException
requestId
- The identifier of the request that caused the exception.public String getRequestId()
The identifier of the request that caused the exception.
getRequestId
in class AmazonServiceException
public AuthenticationFailedException withRequestId(String requestId)
The identifier of the request that caused the exception.
requestId
- The identifier of the request that caused the exception.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.