public class AccessDeniedException extends 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,
String reason)
Creates a new exeception.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a printable string describing the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AccessDeniedException(SecurityAuthority auth, String reason)
auth
- the authority raising the exception.reason
- the reason the exception was raised.Copyright © 1996–2014. All rights reserved.