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.Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.