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

public Class AccountExpiredException

extends AccountException
Class Inheritance

Signals that a user account has expired.

This exception is thrown by LoginModules when they determine that an account has expired. For example, a LoginModule, after successfully authenticating a user, may determine that the user's account has expired. In this case the LoginModule throws this exception to notify the application. The application can then take the appropriate steps to notify the user.

Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AccountExpiredException()

Constructs a AccountExpiredException with no detail message.

public
AccountExpiredException(String
the detail message.
msg
)

Constructs a AccountExpiredException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.security.auth.login.AccountException.serialVersionUID.

Annotations
@Serial

Constructor Detail

AccountExpiredExceptionback to summary
public AccountExpiredException()

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

AccountExpiredExceptionback to summary
public AccountExpiredException(String msg)

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

Parameters
msg:String

the detail message.