Package org.cyclos.model.access
Class PermissionDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.FrameworkException
-
- org.cyclos.model.access.PermissionDeniedException
-
- All Implemented Interfaces:
Serializable
public class PermissionDeniedException extends FrameworkException
Exception thrown when a user did not have a given set of permission- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PermissionDeniedException()PermissionDeniedException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialInputDTOgetLoginConfirmation()booleanisHasExpiredPassword()booleanisHasPendingAgreements()voidsetHasExpiredPassword(boolean hasExpiredPassword)voidsetHasPendingAgreements(boolean hasPendingAgreements)voidsetLoginConfirmation(CredentialInputDTO loginConfirmation)-
Methods inherited from class org.cyclos.model.CyclosException
getAttribute, getMessage, setAttribute, shouldGenerateLog
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PermissionDeniedException
public PermissionDeniedException()
-
PermissionDeniedException
public PermissionDeniedException(String message)
-
-
Method Detail
-
getLoginConfirmation
public CredentialInputDTO getLoginConfirmation()
-
isHasExpiredPassword
public boolean isHasExpiredPassword()
-
isHasPendingAgreements
public boolean isHasPendingAgreements()
-
setHasExpiredPassword
public void setHasExpiredPassword(boolean hasExpiredPassword)
-
setHasPendingAgreements
public void setHasPendingAgreements(boolean hasPendingAgreements)
-
setLoginConfirmation
public void setLoginConfirmation(CredentialInputDTO loginConfirmation)
-
-