/* * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.security.auth.login; /** * Signals that user authentication failed. * *
This exception is thrown by LoginModules if authentication failed.
* For example, a LoginModule throws this exception if
* the user entered an incorrect password.
*
*/
public class FailedLoginException extends LoginException {
private static final long serialVersionUID = 802556922354616286L;
/**
* Constructs a FailedLoginException with no detail message. A detail
* message is a String that describes this particular exception.
*/
public FailedLoginException() {
super();
}
/**
* Constructs a FailedLoginException with the specified detail
* message. A detail message is a String that describes this particular
* exception.
*
*
* * @param msg the detail message. */ public FailedLoginException(String msg) { super(msg); } }