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

public Class LoginException

extends GeneralSecurityException
Class Inheritance
Known Direct Subclasses
javax.security.auth.login.AccountException, javax.security.auth.login.CredentialException, javax.security.auth.login.FailedLoginException

This is the basic login exception.
Since
1.4
See Also
javax.security.auth.login.LoginContext

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
LoginException()

Constructs a LoginException with no detail message.

public
LoginException(String
the detail message.
msg
)

Constructs a LoginException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.GeneralSecurityException.serialVersionUID.

Annotations
@Serial

Constructor Detail

LoginExceptionback to summary
public LoginException()

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

LoginExceptionback to summary
public LoginException(String msg)

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

Parameters
msg:String

the detail message.