Package org.apache.shiro.authc
Class AccountException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authc.AuthenticationException
-
- org.apache.shiro.authc.AccountException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConcurrentAccessException
,DisabledAccountException
,ExcessiveAttemptsException
,UnknownAccountException
public class AccountException extends AuthenticationException
Exception thrown due to a problem with the account under which an authentication attempt is being executed.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountException()
Creates 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 Detail
-
AccountException
public AccountException()
Creates a new AccountException.
-
AccountException
public AccountException(String message)
Constructs a new AccountException.- Parameters:
message
- the reason for the exception
-
AccountException
public AccountException(Throwable cause)
Constructs a new AccountException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-