Class InvalidCredentialsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.elastic.api.InvalidCredentialsException
All Implemented Interfaces:
Serializable

public class InvalidCredentialsException extends Exception
Thrown by CredentialsVerifier.verify(JsonObject) when authentication credentials are invalid.
See Also:
  • Constructor Details

    • InvalidCredentialsException

      public InvalidCredentialsException()
      Creates a new InvalidCredentialsException with a null detail message.
    • InvalidCredentialsException

      public InvalidCredentialsException(String message)
      Creates a new InvalidCredentialsException with the specified message.
      Parameters:
      message - message the exception detail message
    • InvalidCredentialsException

      public InvalidCredentialsException(String message, Throwable throwable)
      Creates a new InvalidCredentialsException with the specified detail message and cause.
      Parameters:
      message - the exception detail message
      throwable - the Throwable that caused this exception