![JAR search and dependency download from the Maven repository](/logo.png)
com.datahub.authentication.AuthenticationException Maven / Gradle / Ivy
package com.datahub.authentication;
import com.datahub.plugins.auth.authentication.Authenticator;
/**
* An {@link Exception} thrown when an {@link Authenticator} is unable to be resolved an instance of
* {@link Authentication} for the current request.
*/
public class AuthenticationException extends Exception {
public AuthenticationException(final String message) {
this(message, null);
}
public AuthenticationException(final String message, final Throwable cause) {
super(String.format("Failed to authenticate inbound request: %s", message), cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy