Class AccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sklsft.commons.api.exception.ApplicationException
org.sklsft.commons.api.exception.rights.AccessDeniedException
- All Implemented Interfaces:
Serializable
Exception thrown by rights manager if a user is rejected when accessing a resource
- Author:
- Nicolas Thibault
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAccessDeniedException(String message) AccessDeniedException(String message, Throwable cause) -
Method Summary
Methods inherited from class org.sklsft.commons.api.exception.ApplicationException
getMessage, setMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ACCESS_DENIED
- See Also:
-
-
Constructor Details
-
AccessDeniedException
public AccessDeniedException() -
AccessDeniedException
-
AccessDeniedException
-
-
Method Details
-
getHttpErrorCode
- Overrides:
getHttpErrorCodein classApplicationException
-