Class AccountException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.authc.AuthenticationException
org.apache.shiro.authc.AccountException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConcurrentAccessException,DisabledAccountException,ExcessiveAttemptsException,UnknownAccountException
Exception thrown due to a problem with the account
under which an authentication attempt is being executed.
- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new AccountException.AccountException(String message) Constructs a new AccountException.AccountException(String message, Throwable cause) Constructs a new AccountException.AccountException(Throwable cause) Constructs a new AccountException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AccountException
public AccountException()Creates a new AccountException. -
AccountException
Constructs a new AccountException.- Parameters:
message- the reason for the exception
-
AccountException
Constructs a new AccountException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
AccountException
Constructs a new AccountException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-