Class AuthenticationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.directory.model.AuthenticationFailedException
- All Implemented Interfaces:
Serializable
An authentication error occurred.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationFailedException(String message) Constructs a new AuthenticationFailedException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the request that caused the exception.voidsetRequestId(String requestId) The identifier of the request that caused the exception.withRequestId(String requestId) The identifier of the request that caused the exception.Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setServiceName, setStatusCodeMethods inherited from class com.amazonaws.AmazonClientException
isRetryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationFailedException
Constructs a new AuthenticationFailedException with the specified error message.- Parameters:
message- Describes the error encountered.
-
-
Method Details
-
setRequestId
The identifier of the request that caused the exception.
- Overrides:
setRequestIdin classAmazonServiceException- Parameters:
requestId- The identifier of the request that caused the exception.
-
getRequestId
The identifier of the request that caused the exception.
- Overrides:
getRequestIdin classAmazonServiceException- Returns:
- The identifier of the request that caused the exception.
-
withRequestId
The identifier of the request that caused the exception.
- Parameters:
requestId- The identifier of the request that caused the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-