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
public class AuthenticationFailedException extends AmazonServiceException
An authentication error occurred.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
-
Constructor Summary
Constructors Constructor Description AuthenticationFailedException(String message)
Constructs a new AuthenticationFailedException with the specified error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, 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
-
AuthenticationFailedException
public AuthenticationFailedException(String message)
Constructs a new AuthenticationFailedException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Detail
-
setRequestId
public void setRequestId(String requestId)
The identifier of the request that caused the exception.
- Overrides:
setRequestId
in classAmazonServiceException
- Parameters:
requestId
- The identifier of the request that caused the exception.
-
getRequestId
public String getRequestId()
The identifier of the request that caused the exception.
- Overrides:
getRequestId
in classAmazonServiceException
- Returns:
- The identifier of the request that caused the exception.
-
withRequestId
public AuthenticationFailedException withRequestId(String requestId)
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.
-
-