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 message)
Constructs a new LockedAccountException.
|
LockedAccountException(String message,
Throwable cause)
Constructs a new LockedAccountException.
|
LockedAccountException(Throwable cause)
Constructs a new LockedAccountException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LockedAccountException()
public LockedAccountException(String message)
message
- the reason for the exceptionpublic LockedAccountException(Throwable cause)
cause
- the underlying Throwable that caused this exception to be thrown.public LockedAccountException(String message, Throwable cause)
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.