Class DisabledAccountException
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
org.apache.shiro.authc.DisabledAccountException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LockedAccountException
Thrown when attempting to authenticate and the corresponding account has been disabled for
some reason.
- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new DisabledAccountException.DisabledAccountException(String message) Constructs a new DisabledAccountException.DisabledAccountException(String message, Throwable cause) Constructs a new DisabledAccountException.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 Details
-
DisabledAccountException
public DisabledAccountException()Creates a new DisabledAccountException. -
DisabledAccountException
Constructs a new DisabledAccountException.- Parameters:
message- the reason for the exception
-
DisabledAccountException
Constructs a new DisabledAccountException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
DisabledAccountException
Constructs a new DisabledAccountException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-