public class

FailedLoginException

extends LoginException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ javax.security.auth.login.LoginException
           ↳ javax.security.auth.login.FailedLoginException

Class Overview

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.

Summary

Public Constructors
FailedLoginException()
Constructs a FailedLoginException with no detail message.
FailedLoginException(String msg)
Constructs a FailedLoginException with the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public FailedLoginException ()

Constructs a FailedLoginException with no detail message. A detail message is a String that describes this particular exception.

public FailedLoginException (String msg)

Constructs a FailedLoginException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
msg the detail message.