public class AccessDeniedException
extends java.lang.Exception
Thrown by the security authority implementations if the credentials supplied are not correct or another error occurs as a result of user parameters.
| Constructor and Description |
|---|
AccessDeniedException(SecurityAuthority auth,
java.lang.String reason)
Creates a new exeception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a printable string describing the exception.
|
public AccessDeniedException(SecurityAuthority auth, java.lang.String reason)
auth - the authority raising the exception.reason - the reason the exception was raised.Copyright © 1996–2019. All rights reserved.