Class AuthenticationException

All Implemented Interfaces:
Serializable

public class AuthenticationException extends NonRetriableException
Thrown when a request is rejected because the supplied credentials are missing, invalid, or insufficient (HTTP 401 / 403).

This is a NonRetriableException: retrying the same request with the same credentials will not help. The caller should verify the API key or token and reconfigure the client before retrying.

See Also:
  • Constructor Details

    • AuthenticationException

      public AuthenticationException(String message)
    • AuthenticationException

      public AuthenticationException(Throwable cause)
    • AuthenticationException

      public AuthenticationException(String message, Throwable cause)