com.yammer.dropwizard.auth.AuthenticationException Maven / Gradle / Ivy
package com.yammer.dropwizard.auth;
/**
* An exception thrown to indicate that an {@link Authenticator} is unable to check the
* validity of the given credentials.
*
* DO NOT USE THIS TO INDICATE THAT THE CREDENTIALS ARE INVALID.
*/
@SuppressWarnings("UnusedDeclaration")
public class AuthenticationException extends Exception {
private static final long serialVersionUID = -5053567474138953905L;
public AuthenticationException(String message) {
super(message);
}
public AuthenticationException(String message, Throwable cause) {
super(message, cause);
}
public AuthenticationException(Throwable cause) {
super(cause);
}
}