Package com.avoka.fc.core.security
Class AccountNotActiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
org.springframework.security.authentication.AccountStatusException
com.avoka.fc.core.security.AccountNotActiveException
- All Implemented Interfaces:
Serializable
public class AccountNotActiveException
extends org.springframework.security.authentication.AccountStatusException
Provides an exception used to denote that a user account is inactive.
- See Also:
-
Constructor Summary
ConstructorDescriptionAccountNotActiveException
(String msg, String status) Create a AccountNotActiveException with the specified parameters -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AccountNotActiveException
Create a AccountNotActiveException with the specified parameters- Parameters:
msg
- the detail messagestatus
- the actual user status
-
-
Method Details
-
getStatus
Return the actual user status- Returns:
- the user status
-