APIdia Launch Partner
Top Description Fields Constructors
javax.security.auth.login

public Class FailedLoginException

extends LoginException
Class Inheritance

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.

Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
FailedLoginException()

Constructs a FailedLoginException with no detail message.

public
FailedLoginException(String
the detail message.
msg
)

Constructs a FailedLoginException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.security.auth.login.LoginException.serialVersionUID.

Annotations
@Serial

Constructor Detail

FailedLoginExceptionback to summary
public FailedLoginException()

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

FailedLoginExceptionback to summary
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:String

the detail message.