org.apache.myfaces.extensions.cdi.core.api.security
Class AccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
org.apache.myfaces.extensions.cdi.core.api.security.AccessDeniedException
- All Implemented Interfaces:
- Serializable
public class AccessDeniedException
- extends SecurityException
Exception occurs in case of a security-violation.
It's aware of the reason for the violation as well as the error-view which should be used to display the restriction.
- Author:
- Gerhard Petracek
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AccessDeniedException
public AccessDeniedException(Set<SecurityViolation> violations,
Class<? extends ViewConfig> errorView)
getViolations
public Set<SecurityViolation> getViolations()
getErrorView
public Class<? extends ViewConfig> getErrorView()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.