Class AuthenticationFailedException

All Implemented Interfaces:
Serializable

public class AuthenticationFailedException extends AmazonServiceException

An authentication error occurred.

See Also:
  • Constructor Details

    • AuthenticationFailedException

      public AuthenticationFailedException(String message)
      Constructs a new AuthenticationFailedException with the specified error message.
      Parameters:
      message - Describes the error encountered.
  • Method Details

    • setRequestId

      public void setRequestId(String requestId)

      The identifier of the request that caused the exception.

      Overrides:
      setRequestId in class AmazonServiceException
      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 class AmazonServiceException
      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.