Package io.elastic.api
Class InvalidCredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.elastic.api.InvalidCredentialsException
- All Implemented Interfaces:
Serializable
Thrown by
CredentialsVerifier.verify(JsonObject)
when authentication credentials are invalid.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InvalidCredentialsException with a null detail message.InvalidCredentialsException
(String message) Creates a new InvalidCredentialsException with the specified message.InvalidCredentialsException
(String message, Throwable throwable) Creates a new InvalidCredentialsException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidCredentialsException
public InvalidCredentialsException()Creates a new InvalidCredentialsException with a null detail message. -
InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified message.- Parameters:
message
- message the exception detail message
-
InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified detail message and cause.- Parameters:
message
- the exception detail messagethrowable
- the Throwable that caused this exception
-