io.elastic.api.InvalidCredentialsException Maven / Gradle / Ivy
package io.elastic.api;
import javax.json.JsonObject;
/**
* Thrown by {@link CredentialsVerifier#verify(JsonObject)}
* when authentication credentials are invalid.
*/
public class InvalidCredentialsException extends Exception {
/**
* Creates a new InvalidCredentialsException with a null detail message.
*/
public InvalidCredentialsException() {
}
/**
* Creates a new InvalidCredentialsException with the specified message.
*
* @param message message the exception detail message
*/
public InvalidCredentialsException(String message) {
super(message);
}
/**
* Creates a new InvalidCredentialsException with the specified
* detail message and cause.
*
* @param message the exception detail message
* @param throwable the Throwable that caused this exception
*/
public InvalidCredentialsException(String message, Throwable throwable) {
super(message, throwable);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy