Package org.apache.shiro.authc
Class DisabledAccountException
- 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
-
- org.apache.shiro.authc.DisabledAccountException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LockedAccountException
public class DisabledAccountException extends AccountException
Thrown when attempting to authenticate and the corresponding account has been disabled for some reason.- Since:
- 0.1
- See Also:
LockedAccountException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisabledAccountException()
Creates a new DisabledAccountException.DisabledAccountException(String message)
Constructs a new DisabledAccountException.DisabledAccountException(String message, Throwable cause)
Constructs a new DisabledAccountException.DisabledAccountException(Throwable cause)
Constructs a new DisabledAccountException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DisabledAccountException
public DisabledAccountException()
Creates a new DisabledAccountException.
-
DisabledAccountException
public DisabledAccountException(String message)
Constructs a new DisabledAccountException.- Parameters:
message
- the reason for the exception
-
DisabledAccountException
public DisabledAccountException(Throwable cause)
Constructs a new DisabledAccountException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-