org.owasp.esapi.errors
Class AccessControlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.owasp.esapi.errors.EnterpriseSecurityException
org.owasp.esapi.errors.AccessControlException
- All Implemented Interfaces:
- Serializable
public class AccessControlException
- extends EnterpriseSecurityException
An AccessControlException should be thrown when a user attempts to access a
resource that they are not authorized for.
- Author:
- Jeff Williams ([email protected])
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AccessControlException
protected AccessControlException()
- Instantiates a new access control exception.
AccessControlException
public AccessControlException(String userMessage,
String logMessage)
- Creates a new instance of
AccessControlException
.
- Parameters:
userMessage
- logMessage
-
AccessControlException
public AccessControlException(String userMessage,
String logMessage,
Throwable cause)
- Instantiates a new access control exception.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the root cause
Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.