Auth401Exception.java

package org.flasby.security;

/**
 * The 401 (Unauthorized) status code indicates that the request has not
 * been applied because it lacks valid authentication credentials for the
 * target resource.
 */
public class Auth401Exception extends AuthException {

    public Auth401Exception() {
        super(401);
    }

    public Auth401Exception(Throwable cause) {
        super(401, cause);
    }
}