public class NoAwsCredentialsException extends NoAuthWithAWSException
NoAuthWithAWSException, the S3A retry handler
knows not to attempt to ask for the credentials again.| Modifier and Type | Field and Description |
|---|---|
static String |
E_NO_AWS_CREDENTIALS
The default error message: "No AWS Credentials".
|
| Constructor and Description |
|---|
NoAwsCredentialsException(String credentialProvider)
Construct with the default message of
E_NO_AWS_CREDENTIALS. |
NoAwsCredentialsException(String credentialProvider,
String message)
Construct.
|
NoAwsCredentialsException(String credentialProvider,
String message,
Throwable thrown)
Construct with exception.
|
retryablebuilder, create, create, toBuilderaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String E_NO_AWS_CREDENTIALS
public NoAwsCredentialsException(@Nonnull String credentialProvider, @Nonnull String message)
credentialProvider - name of the credential provider.message - message.public NoAwsCredentialsException(@Nonnull String credentialProvider)
E_NO_AWS_CREDENTIALS.credentialProvider - name of the credential provider.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.