public class LockedAccountException extends DisabledAccountException
For example, an account can be locked if an administrator explicitly locks an account or perhaps an account can be locked automatically by the system if too many unsuccessful authentication attempts take place during a specific period of time (perhaps indicating a hacking attempt).
| Constructor and Description |
|---|
LockedAccountException()
Creates a new LockedAccountException.
|
LockedAccountException(String
Constructs a new LockedAccountException.
|
LockedAccountException(String
Constructs a new LockedAccountException.
|
LockedAccountException(Throwable
Constructs a new LockedAccountException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LockedAccountException()
public LockedAccountException(Stringmessage)
message - the reason for the exception
public LockedAccountException(Throwablecause)
cause - the underlying Throwable that caused this exception to be thrown.