public class AuthenticationFailedException extends AmazonServiceException
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, getMessage, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 AmazonServiceExceptionrequestId - The identifier of the request that caused the exception.public String getRequestId()
The identifier of the request that caused the exception.
getRequestId in class AmazonServiceExceptionpublic 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.